Welcome to the Estatespace command line interface. This tool provides a set of commands to streamline various tasks related to Git and Jira.
To install the es-cli tool, follow these steps:
- Locate the Executable: Find the
esexecutable in theprog/directory. - Create a Directory: Create a new directory named
system_tools. - Add to PATH:
- Add the path of the
system_toolsdirectory to your system's PATH environment variable.
- Add the path of the
- Source Your Shell Configuration File: Source your shell configuration file (e.g.,
.zshrc,.bashrc) to apply the changes. - Move the Executable: Move the
esexecutable into thesystem_toolsdirectory. - Test Installation: Verify that the installation was successful by running:
es --help
Alternatively, you can clone this repo and build it locally with go build -o [name it whatever]
For more detailed installation instructions or troubleshooting, please refer to our GitHub repository.
The es CLI tool is designed to be intuitive and easy to use. Here are some common commands you can run:
-
Help: Get help on any command by appending
--help.es --help
-
Completion Script: Generate the autocompletion script for your shell.
es completion [shell]
-
gac (git add and commit): Adds all files in the current directory to the staging area and commits them with a message starting with the ES ticket number.
es gac "Commit message" -
gcl (git delete local branches matching ticket pattern): Deletes local git branches that match a specific Jira ticket pattern.
es gcl <ticket-pattern>
-
jbl (Jira backlog for specific user): Lists the backlog items assigned to a specific user in Jira.
es jbl -u <username>
-
jtp (Jira ticket for current branch): Opens the corresponding Jira ticket for the current git branch.
es jtp
The es CLI tool supports a few flags:
-h, --help: Display help information about any command.-t, --toggle: Toggle a specific feature (details depend on implementation).
For more detailed usage and examples of each command, please refer to the GitHub repository.
We welcome contributions from the community. If you find an issue or have ideas for new features, feel free to open a pull request.
To contribute:
- Fork the repository.
- Create your feature branch (
git checkout -b feature/AmazingFeature). - Commit your changes (
git commit -m 'Add some AmazingFeature'). - Push to the branch (
git push origin feature/AmazingFeature).