Skip to content

joelee2012/nacosctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

test goreleaser codecov

nctl

Command line tools for Nacos version must be compatible with api v1

  • v2.1.x
  • v2.2.x
  • v2.3.x
  • v2.4.x
  • v2.5.x

Usage

Command line tools for Nacos

Usage:
  nctl [command]

Available Commands:
  apply       Apply configuration file to nacos
  completion  Generate the autocompletion script for the specified shell
  config      Manage nacos instance config
  create      Create one resource
  delete      Delete one or many resources
  get         Display one or many resources
  help        Help about any command
  version     Print the version number

Flags:
  -h, --help             help for nctl
  -s, --setting string   config file (default is $HOME/.nacos.yaml)

Use "nctl [command] --help" for more information about a command.

Setting

default setting file path is $HOME/.nacos.yaml

servers:
  test: # server name
    url: http://127.0.0.1:8848/nacos # nacos url with context path
    user: "nacos" # username
    password: "password" # password
context: test # current context name

About

Command line tools for Nacos

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •