gole.cli
gole.cli
π
default(path: str = '.')
π
Simple editor for simple things.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
path
|
str
|
File or directory to be worked. |
.
|
list()
π
List the active configuration.
Source code in gole/cli.py
edit()
π
get(option: Options)
π
Get the value associated with OPTION.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
option
|
Options
|
Option to look for the value. |
required |
Source code in gole/cli.py
set(option: Options, value: str)
async
π
Set the OPTION VALUE.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
option
|
Options
|
Option to be changed. |
required |
value
|
str
|
Value to be defined. |
required |