nocloud-cli

command module
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

README

NoCloud CLI

Official CLI for NoCloud Platform

Table of Contents

Usage

Check out nocloud -h for list of available commands. You can also use nocloud help [command] to see help notes for particular command.

You must authorize first, to use other commands, see nocloud help login.

Installation

Download Pre-Built
  1. Navigate to Releases pages
  2. Pick CLI Release Tag matching NoCloud version you running
  3. Download archived binary and checksum for you platform
  4. Unpack archive: tar -xvzf nocloud-<version>-<os>-<arch>.tar.gz
  5. Move nocloud binary file to /usr/local/bin
  6. You're all set!

macOS users might'd need to allow it in Privacy Settings

Building from Source

You must have golang (version 1.17) environment set

  1. Clone this repo
  2. Run go build -o nocloud
  3. Put freshly built nocloud binary file to /usr/local/bin
  4. You're all set!

macOS users might'd need to allow it in Privacy Settings

Update

Automatic update

If you have CLI version ^0.1.1 installed, you can update using following command:

nocloud install cli # This will install CLI from latest tag on GitHub
# or
nocloud install cli v0.1.2 # This will install CLI from precisely v0.1.2 tag on GitHub
Manual update

Simple repeat steps from Installation

Notes

Login

CLI currently supports only standard type of Authorization

Auto-Completion

CLI is based on spf13/cobra and supports auto-completion, you can see register scripts by running nocloud completion [your shell] To check how to register completions, add -h flag

Documentation

Overview

Copyright © 2021 Nikita Ivanovski info@slnt-opp.xyz

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
cmd
sp
pkg

Jump to

Keyboard shortcuts

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