ZOCLI is the official Command Line Interface (CLI) for managing and fulfilling tasks on the 01cloud ecosystem. It empowers developers and DevOps professionals to perform operations efficiently without the need for a web interface.
ZOCLI leverages the powerful Cobra framework to build a robust and user-friendly command-line interface.
With ZOCLI, you can easily perform all the necessary operations available in our web application without relying on a web interface. It offers a seamless experience for developers, system administrators, or anyone who prefers working with the command line.
-
Authentication & Configuration: Securely log in and manage your session with various authentication methods, including Single Sign-On (SSO), Access Tokens, and Basic Credentials.
-
Resource Management: Create, read, update, and delete resources such as applications, projects, and organizations directly from the command line.
-
Environment Management: Manage environments associated with your applications, including starting, stopping, and retrieving details.
-
Context Management: Easily switch between different contexts (projects and applications) to streamline your workflow.
-
Advanced Permissions: Manage user permissions and variables within projects, ensuring that the right users have the right access.
-
Output Formatting: Retrieve data in various formats (JSON, YAML) for integration with other tools and automation scripts.
-
Help & Aliases: Access comprehensive help menus for all commands and utilize aliases for quicker command execution.
To get started, install ZOCLI and authenticate using:
Ensure you have the following prerequisites before installing ZOCLI:
- Supported OS: Linux, macOS, Windows
- curl installed
Check out the latest releases at GitHub Releases.
You can also install ZOCLI directly using the following command:
- To install the latest version.
curl -sS https://raw.githubusercontent.com/BerryBytes/zocli/main/installer.sh | bash- To install a specific version (e.g.,
v0.0.2):
curl -sS https://raw.githubusercontent.com/BerryBytes/zocli/main/installer.sh | bash -s -- v0.0.2Start with zocli --help to get started. Here is an example of logging in:
zocli auth loginNOTE: Manuals for using this application will be updated in the near future.
For detailed command information, you can browse the Zocli Documentation.
zocli auth loginWe welcome contributions! Please see our contributing guidelines for more details.
To trigger a release, push a commit to main with [release] in the commit message (e.g., git commit -m "Add feature [release]"). The workflow will auto-increment the version, tag it, and create a draft release.
-
Temporary Bash Session
Details: A feature to allow temporary bash sessions for troubleshooting and debugging. Status: Upcoming plans are in place, and documentation will be updated with a roadmap and timeline. Benefit: Enhanced debugging capabilities for users.
-
Append Feature for Project Variables
Details: An --append flag will be added to zocli p settings vars add to allow adding new variables without replacing existing ones. Status: Planned for the next release, pending API integration for variable management. Benefit: Prevents accidental overwriting of project variables and improves flexibility.