Skip to content

Commit 13356ae

Browse files
committed
docs: add README
1 parent 43c61d5 commit 13356ae

File tree

1 file changed

+61
-2
lines changed

1 file changed

+61
-2
lines changed

README.md

Lines changed: 61 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,61 @@
1-
# wirecli
2-
An extendable CLI tool for ProcessWire developers. Automate common tasks and manage your ProcessWire projects effortlessly.
1+
# wire-cli
2+
3+
wire-cli is a CLI (Command-Line Interface) tool designed to provide ease of use and efficiency for ProcessWire developers. With wire-cli, you can automate common tasks, manage ProcessWire projects effortlessly, and enhance your development workflow.
4+
5+
## Features
6+
7+
- Create new ProcessWire projects
8+
- Serve ProcessWire via built-in PHP webserver
9+
- Perform database backup and restoration
10+
- Manage fields, templates, roles, users, and modules
11+
- Generate boilerplate modules
12+
- Check for core upgrades
13+
- And more...
14+
15+
wire-cli is based on the defunct wireshell, built using the [Symfony Console](https://symfony.com/doc/current/components/console.html) Component, offering a powerful and intuitive command-line interface for interacting with ProcessWire projects and adding new commands. It is compatible with PHP 8.1.
16+
17+
Please note that wire-cli and another tool called [rockshell](https://github.com/baumrock/rockshell) share similar goals and functionality. In the future, the features of wire-cli and rockshell will be merged to provide a unified and comprehensive CLI tool for ProcessWire developers.
18+
19+
## Installation
20+
21+
To install wire-cli, you need to have Composer installed. Run the following command to install wire-cli globally:
22+
23+
```
24+
composer global require wirecli/wire-cli
25+
```
26+
27+
## Usage
28+
29+
Run `wire-cli` followed by the desired command to execute various tasks. For example:
30+
31+
```
32+
wire-cli new myproject
33+
```
34+
35+
For a complete list of available commands and options, use the `help` command:
36+
37+
## Documentation
38+
39+
For detailed documentation and usage examples, please refer to the [official documentation](https://github.com/wirecli/wire-cli).
40+
41+
## Contributing
42+
43+
Contributions are welcome! If you encounter any issues or have suggestions for improvements, please submit an issue or a pull request on the [GitHub repository](https://github.com/wirecli/wire-cli).
44+
45+
## Available commands
46+
47+
![](./docs/capture-cmd.jpg)
48+
49+
## Credits
50+
51+
wire-cli is inspired by the work of the following authors of the initial developers/contributors of wireshell:
52+
53+
- Marcus Herrmann
54+
- Hari K T
55+
- Bea David
56+
- Camilo Castro
57+
- Horst Nogajski
58+
59+
## License
60+
61+
This project is licensed under the [MIT License](LICENSE.md).

0 commit comments

Comments
 (0)