nocloud-cli

command module
v0.2.2-r1 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 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

See CLI reference at main repo page

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

Example Configs

Setting

Use this config for nocloud settings apply

key: setting-from-yaml
value: not a json
description: sample setting
public: false
DNS

Use this config for nocloud dns apply

name: cluster.nocloud.
locations:
  tunnel:
    cname:
    - host: tunnelserver
      ttl: 360
    txt:
    - text: I'm a DNS record
      ttl: 360

Documentation

Overview

Copyright © 2021-2022 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
dns
sp

Jump to

Keyboard shortcuts

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