You should read the Typer Tutorial - User Guide before referring to this summary. Information icons ℹ️ link to the relevant sections of the Typer Tutorial.
- Documentation: https://typer.tiangolo.com
- Source Code: https://github.com/fastapi/typer
| #!/bin/bash | |
| # Colors | |
| RED='\033[0;31m' | |
| GREEN='\033[0;32m' | |
| NO_COLOR='\033[0m' | |
| BLUE='\033[0;34m' | |
| YELLOW='\033[0;33m' | |
| NO_COLOR='\033[0m' |
You should read the Typer Tutorial - User Guide before referring to this summary. Information icons ℹ️ link to the relevant sections of the Typer Tutorial.
| # Pre-commit config (https://pre-commit.com/) | |
| .pre-commit-config.yaml | |
| # Editors/IDEs/etc | |
| .idea | |
| .vscode | |
| .vagrant | |
| .classpath | |
| .project |
| [MASTER] | |
| # Specify a configuration file. | |
| #rcfile= | |
| # Python code to execute, usually for sys.path manipulation such as | |
| # pygtk.require(). | |
| #init-hook= | |
| # Add files or directories to the blacklist. They should be base names, not |
Bold+italics means the lib is probably worth checking out above the rest. joffrey is my own.
| add file | |
| curl -X PUT --anyauth --user 'admin:admin' -T cluster1.xml 'http://localhost:8005/testfile.xml' | |
| make directory | |
| curl -X MKCOL --anyauth --user 'admin:admin' 'http://localhost:8005/testdir' | |
| move a file | |
| curl -X MOVE --anyauth --user 'admin:admin' --header 'Destination: http://localhost:8005/testfile1.xml' 'http://localhost:8005/testfile.xml' | |
| list all files in webdav |