Skip to content

Commit

Permalink
Fixing docstring (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
tdegeus committed Nov 28, 2023
1 parent d482299 commit 75a5928
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 18 deletions.
37 changes: 20 additions & 17 deletions shelephant/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -782,23 +782,26 @@ def _shelephant_main_parser():
"""
Available commands:
=========== ======================================================================
command description
=========== ======================================================================
init Initialize a new dataset.
add Add storage location to dataset.
remove Remove storage location from dataset.
update Update dataset.
status Show status of files.
info Show global information about dataset.
lock Lock as storage location.
cp Copy files from one location to another.
mv Move files from one location to another (both local).
rm Remove files from one location.
pwd Print equivalent directory in the storage location.
git Run git command on the database directory (``.shelephant``).
gitignore Add all symbolic links at ``.shelephant`` to dataset's ``.gitignore``.
=========== ======================================================================
== =========== ======================================================================
command description
============= ======================================================================
init Initialize a new dataset.
add Add storage location to dataset.
remove Remove storage location from dataset.
update Update dataset.
status Show status of files.
info Show global information about dataset.
diff Show difference between two storage locations.
lock Lock as storage location.
send_storage Send f"/shelephant/storage/{name}.yaml" to storage location.
get_storage Get f"/shelephant/storage/{name}.yaml" from storage location.
cp Copy files from one location to another.
mv Move files from one location to another (both local).
rm Remove files from one location.
pwd Print equivalent directory in the storage location.
git Run git command on the database directory (``.shelephant``).
gitignore Add all symbolic links at ``.shelephant`` to dataset's ``.gitignore``.
============= ======================================================================
"""
)

Expand Down
2 changes: 1 addition & 1 deletion shelephant/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -928,7 +928,7 @@ def _get_send_storage_parser():

desc = textwrap.dedent(
"""
Copy storage YAML file.
Copy f"/shelephant/storage/{name}.yaml".
"""
)

Expand Down

0 comments on commit 75a5928

Please sign in to comment.