Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Update Library.md #753

Merged
merged 2 commits into from
Sep 24, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 26 additions & 20 deletions docs/Subcommand/Library.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,24 @@
Shell:

~~~
bash$ gridlabd help
bash$ gridlabd index <pattern>
bash$ gridlabd list <pattern>
bash$ gridlabd get <pattern>
bash$ gridlabd submit <file>
bash$ gridlabd delete <pattern>
bash$ gridlabd info <pattern>
bash$ gridlabd copy <name> [<file>]
bash$ gridlabd clean
bash$ gridlabd open <local>
bash$ gridlabd session <local> [<pattern>]
bash$ gridlabd add <local> <pattern>
bash$ gridlabd save <local> ["<description>"]
bash$ gridlabd submit <local>
bash$ gridlabd config show
bash$ gridlabd config reset
bash$ gridlabd config get <name>
bash$ gridlabd config set <name> <value>
bash$ gridlabd library help
bash$ gridlabd library index <pattern>
bash$ gridlabd library list <pattern>
bash$ gridlabd library get <pattern>
bash$ gridlabd library submit <file>
bash$ gridlabd library delete <pattern>
bash$ gridlabd library info <pattern>
bash$ gridlabd library copy <name> [<file>]
bash$ gridlabd library clean
bash$ gridlabd library open <local>
bash$ gridlabd library session <local> [<pattern>]
bash$ gridlabd library add <local> <pattern>
bash$ gridlabd library save <local> ["<description>"]
bash$ gridlabd library submit <local>
bash$ gridlabd library config show
bash$ gridlabd library config reset
bash$ gridlabd library config get <name>
bash$ gridlabd library config set <name> <value>
~~~

# Description
Expand All @@ -32,7 +32,7 @@ Use the `library` subcommand to manage GridLAB-D's library files.
## `help`

~~~
gridlabd help
gridlabd library help
~~~

The `library help` subcommand obtains a list of the valid commands.
Expand Down Expand Up @@ -74,7 +74,7 @@ Commands:
The `index` command outputs a list of library files in the archive that match <pattern>.

~~~
bash$ gridlabd index wood_pole
bash$ gridlabd library index wood_pole
wood_pole.glm
~~~

Expand Down Expand Up @@ -174,3 +174,9 @@ Submit the local working session to the archive for review.
~~~

Manage the library manager configuration.

# Script-use example

~~~
#library get wood_pole.glm
~~~~