Compare commits
No commits in common. "d191577ac980dd541af4c36cbc4dffa51be5451e" and "7fa685e8625bf947821f0d4bf7ad89b243a60561" have entirely different histories.
d191577ac9
...
7fa685e862
2 changed files with 0 additions and 3 deletions
|
|
@ -28,8 +28,6 @@ Here are some of the common commands you may want to try right off the bat (asid
|
||||||
export MAKESHIFT_HOST=localhost
|
export MAKESHIFT_HOST=localhost
|
||||||
export MAKESHIFT_PATH=/test
|
export MAKESHIFT_PATH=/test
|
||||||
export MAKESHIFT_ROOT=./test
|
export MAKESHIFT_ROOT=./test
|
||||||
export MAKESHIFT_LOG_FILE=logs/makeshift.log
|
|
||||||
export MAKESHIFT_LOG_LEVEL=debug
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Start the server. The `--init` flag with create the default files and directory to get started at the `--root` path.
|
Start the server. The `--init` flag with create the default files and directory to get started at the `--root` path.
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,6 @@ var rootCmd = cobra.Command{
|
||||||
Run: func(cmd *cobra.Command, args []string) {
|
Run: func(cmd *cobra.Command, args []string) {
|
||||||
// try and set flags using env vars
|
// try and set flags using env vars
|
||||||
setenv(cmd, "log-file", "MAKESHIFT_LOG_FILE")
|
setenv(cmd, "log-file", "MAKESHIFT_LOG_FILE")
|
||||||
setenv(cmd, "log-level", "MAKESHIFT_LOG_LEVEL")
|
|
||||||
if len(args) == 0 {
|
if len(args) == 0 {
|
||||||
err := cmd.Help()
|
err := cmd.Help()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue