Skip to content

Commit 8b713d2

Browse files
committed
Move lambdacron config to user home
1 parent c22dcaa commit 8b713d2

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,3 @@ sample/
1919
# IntelliJ IDEs
2020
.idea/
2121

22-
# LambdaCron config
23-
config/

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ from a file or a set of tasks in a directory.
235235
Parameters:
236236
237237
* **--task-file (-t)**: File that contains a task definition.
238-
* **--task-directory (-d)**: Directory with a set of files with tasks definitions.
238+
* **--task-directory (-d)**: Directory with a set of files with taqsks definitions.
239239
240240
241241
## Tasks
@@ -377,9 +377,10 @@ Create your first environment (called 'test') with default settings:
377377
$ bin/lambda-cron create --environment=test --create-bucket
378378
```
379379

380-
If you want to set some custom settings create the setting file:
380+
If you want to set some custom settings create the setting file in the home
381+
directory of the user is running the tool.
381382

382-
* config/cli.yml
383+
* ~/lambdacron.yml
383384

384385
For help:
385386

cli/config_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def get_project_root_directory():
1010

1111

1212
def get_cli_config_file_path():
13-
return os.path.join(get_project_root_directory(), 'config/cli.yml')
13+
return os.path.abspath('~/.lambdacron.yml')
1414

1515

1616
def get_jsonschema_file_path():

0 commit comments

Comments
 (0)