...
This commit is contained in:
parent
2eec3be632
commit
14b2bb2798
@ -8,32 +8,32 @@ cd doctreecmd
|
||||
|
||||
# First, scan the collections
|
||||
echo "=== Scanning Collections ==="
|
||||
cargo run -- scan-and-info ../examples supercollection
|
||||
cargo run -- scan ../examples --doctree supercollection
|
||||
|
||||
# Get a document in markdown format
|
||||
echo -e "\n=== Getting Document (Markdown) ==="
|
||||
cargo run -- get -c supercollection -p 01_features.md
|
||||
cargo run -- get -c supercollection -p 01_features.md --doctree supercollection
|
||||
|
||||
# Get a document in HTML format
|
||||
echo -e "\n=== Getting Document (HTML) ==="
|
||||
cargo run -- get -c supercollection -p 01_features.md -f html
|
||||
cargo run -- get -c supercollection -p 01_features.md -f html --doctree supercollection
|
||||
|
||||
# Get a document without specifying collection
|
||||
echo -e "\n=== Getting Document (Default Collection) ==="
|
||||
cargo run -- get -p 01_features.md
|
||||
cargo run -- get -p 01_features.md --doctree supercollection
|
||||
|
||||
# Delete a specific collection
|
||||
echo -e "\n=== Deleting Collection ==="
|
||||
cargo run -- delete-collection grid_documentation
|
||||
cargo run -- delete-collection grid_documentation --doctree supercollection
|
||||
|
||||
# List remaining collections
|
||||
echo -e "\n=== Listing Remaining Collections ==="
|
||||
cargo run -- list
|
||||
cargo run -- list --doctree supercollection
|
||||
|
||||
# Reset all collections
|
||||
echo -e "\n=== Resetting All Collections ==="
|
||||
cargo run -- reset
|
||||
cargo run -- reset --doctree supercollection
|
||||
|
||||
# Verify all collections are gone
|
||||
echo -e "\n=== Verifying Reset ==="
|
||||
cargo run -- list
|
||||
cargo run -- list --doctree supercollection
|
Loading…
Reference in New Issue
Block a user