cli

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

README

Civo CLI (2020+)

The plan

The plan is very simple, to write a new version of the Ruby Civo CLI in Golang and deploy it using a simple curl https://get... | sh type script or Homebrew for Macs.

We want it to stay interface compatible where possible, with all the aliases currently configured - but want to enhance it with things like custom formatting of output in to JSON or in to custom string formats (e.g. -o "Hostname|Size").

External libraries

Golang has no shortage of external libraries for various parts of this, but the ones currently planned to be used are:

Cobra CLI Library
Other libraries

Progress

  • Makefile for cross-platform builds
  • API Key management
  • Regions
  • Quotas
  • Sizes
  • Instances
  • Domain names
  • Domain records
  • Kubernetes Clusters
  • Kubernetes Applications
  • Load balancers
  • SSH keys
  • Networks
  • Snapshots
  • Volumes
  • Firewalls
  • Templates
  • Blueprints
  • curl | bash installation mechanism
  • Homebrew

Documentation

Overview

Copyright © 2019 Civo Ltd <hello@civo.com>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis
Package utility provides utility functionality that is used throughout the Civo CLI.
Package utility provides utility functionality that is used throughout the Civo CLI.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL