forked from kubash/kubash
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from joshuacox/v1.9.3
Cutting 1.9.3 in prep for 1.9.4
- Loading branch information
Showing
3 changed files
with
53 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
### Debugging | ||
|
||
First start by adding a few -vvv to the command to bump up the verbosity e.g. | ||
|
||
``` | ||
kubash -vvvvv init | ||
``` | ||
|
||
or | ||
|
||
``` | ||
kubash --verbosity 22 init | ||
``` | ||
|
||
Alternatively there is an environment variable `VERBOSITY` | ||
|
||
``` | ||
export VERBOSITY=25 | ||
kubash init | ||
``` | ||
|
||
And you can also add a debug flag: | ||
|
||
``` | ||
kubash --debug --verbosity 100 init | ||
``` | ||
|
||
try `kubash COMMAND --help` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
### Interactive Mode | ||
|
||
`kubash` -- alone will invoke an interactive shell (or if you prefer | ||
`kubash interactive`) | ||
|
||
``` | ||
### Kubash, by Josh Cox | ||
--------------------------------------------------------------------------------------------------------------- | ||
Interactive Kubash Shell Enter 'help' for help, or 'quit' to quit | ||
working with the default kubash cluster, or set with 'clustername' | ||
--------------------------------------------------------------------------------------------------------------- | ||
K8$ | ||
``` | ||
|
||
At this prompt you can invoke all the kubash commands in a read loop, | ||
this can eliminate alot of typing while interacting with a cluster. | ||
There are a few special commands that you can invoke in the interactive | ||
shell. `name EXAMPLE` will set the name of the cluster that you are | ||
interacting with. `verbosity 10` will set the verbosity to 10. `v` will | ||
increment the verbosity up one. |