diff --git a/cmd/cli.go b/cmd/cli.go index cb3e97d7..1da63c64 100644 --- a/cmd/cli.go +++ b/cmd/cli.go @@ -19,7 +19,7 @@ type Cli struct { // VERSION build var ( - Version string = "0.0.6" + Version string = "0.0.7" ) // NewCli struct diff --git a/docs/packet_capacity.md b/docs/packet_capacity.md new file mode 100644 index 00000000..1a2eae71 --- /dev/null +++ b/docs/packet_capacity.md @@ -0,0 +1,27 @@ +## packet capacity + +Capacities operations + +### Synopsis + +Capacities operations: get, check + +### Options + +``` + -h, --help help for capacity +``` + +### Options inherited from parent commands + +``` + --config string Path to JSON or YAML configuration file +``` + +### SEE ALSO + +* [packet](packet.md) - Command line interface for Packet Host +* [packet capacity check](packet_capacity_check.md) - Validates if a deploy can be fulfilled. +* [packet capacity get](packet_capacity_get.md) - Returns a list of facilities and plans with their current capacity. + +###### Auto generated by spf13/cobra on 14-Apr-2020 diff --git a/docs/packet_capacity_check.md b/docs/packet_capacity_check.md new file mode 100644 index 00000000..4b929514 --- /dev/null +++ b/docs/packet_capacity_check.md @@ -0,0 +1,38 @@ +## packet capacity check + +Validates if a deploy can be fulfilled. + +### Synopsis + +Example: + +packet capacity check -f [facility] -p [plan] -q [quantity] + + + +``` +packet capacity check [flags] +``` + +### Options + +``` + -f, --facility string Code of the facility + -h, --help help for check + -j, --json JSON output + -p, --plan string Name of the plan + -q, --quantity int Number of devices wanted + -y, --yaml YAML output +``` + +### Options inherited from parent commands + +``` + --config string Path to JSON or YAML configuration file +``` + +### SEE ALSO + +* [packet capacity](packet_capacity.md) - Capacities operations + +###### Auto generated by spf13/cobra on 14-Apr-2020 diff --git a/docs/packet_capacity_get.md b/docs/packet_capacity_get.md new file mode 100644 index 00000000..2b8757e6 --- /dev/null +++ b/docs/packet_capacity_get.md @@ -0,0 +1,34 @@ +## packet capacity get + +Returns a list of facilities and plans with their current capacity. + +### Synopsis + +Example: +Retrieve capacities: +packet capacity get + + +``` +packet capacity get [flags] +``` + +### Options + +``` + -h, --help help for get + -j, --json JSON output + -y, --yaml YAML output +``` + +### Options inherited from parent commands + +``` + --config string Path to JSON or YAML configuration file +``` + +### SEE ALSO + +* [packet capacity](packet_capacity.md) - Capacities operations + +###### Auto generated by spf13/cobra on 14-Apr-2020