cli

command module
v1.0.2 Latest Latest
Warning

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

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

README

cli

Getting Started

First, run the init command. This will generate a sample configuration file. At the moment, you must fill out the manifestsRepo key. This should be the directory where you have onepanel/manifests

You can then modify the generated params.env file with arguments you want.

Config

The configuration file is stored in .cli_config.yaml. If it does not exist, it is created the first time the init command is run.

There are two configuration options at the moment, both control where the manifests are loaded from.

Github Manifest Loader (default)

Downloads the manifest from the Github repository.

manifestSource:
  github:
    tag: latest  # Change this to use another tag
    overrideCache: false # This is optional. Only use this to always override your cache.
Directory Manifest Loader

Copies the manifest from a local directory.

manifestSource:
  directory:
    folder: /path/to/manifests
    overrideCache: true # Use this to override the cache so you can make local changes and see them reflect here.

Documentation

Overview

Copyright © 2019 NAME HERE <EMAIL ADDRESS>

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
cloud

Jump to

Keyboard shortcuts

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