Skip to content

BerryBytes/zocli

Repository files navigation

ZOCLI

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.

Table of Contents

Features

  • 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.

Getting Started

To get started, install ZOCLI and authenticate using:

Prerequisites

Ensure you have the following prerequisites before installing ZOCLI:

  • Supported OS: Linux, macOS, Windows
  • curl installed

Installation

Check out the latest releases at GitHub Releases.

You can also install ZOCLI directly using the following command:

  1. To install the latest version.
curl -sS https://raw.githubusercontent.com/BerryBytes/zocli/main/installer.sh | bash
  1. 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.2

Usage

Start with zocli --help to get started. Here is an example of logging in:

zocli auth login

NOTE: Manuals for using this application will be updated in the near future.

Commands

For detailed command information, you can browse the Zocli Documentation.

Examples

zocli auth login

Contributing

We welcome contributions! Please see our contributing guidelines for more details.

Releasing

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.


Coming Features

  1. 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.

  2. 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.

About

ZOCLI is the official CLI for managing the 01cloud ecosystem.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 6

Languages