mq-task
A task runner that executes code blocks in Markdown files based on section titles.
File Explorer
- ci.yml
- release.yml
- dependabot.yml
- demo.gif
- demo.tape
- logo.svg
- README.md
- install.sh
- config.rs
- error.rs
- lib.rs
- main.rs
- runner.rs
- tui.rs
- integration_test.rs
- .gitignore
- Cargo.lock
- Cargo.toml
- README.md
- sections.mq
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
dir
View Details ▼
dir
List files.
dir
List files in the current working directory:
tldr ls
View documentation for the original command:
dir
Show the contents of the current directory:
cargo install
View Details ▼
cargo install
Build and install a Rust binary.
cargo install {{package}}@{{version}}
Install a package from <https://crates.io> (the version is optional - latest by default):
cargo install --git {{repo_url}}
Install a package from the specified Git repository:
cargo install --git {{repo_url}} --{{branch|tag|rev}} {{branch_name|tag|commit_hash}}
Build from the specified branch/tag/commit when installing from a Git repository:
just
View Details ▼
just
Save and run project-specific commands.
just {{recipe}}
Run a recipe specified in the justfile:
just
Start a REPL (interactive shell):
just --init
Initialize new justfile in project root:
psql
View Details ▼
psql
PostgreSQL client.
psql {{database}}
Connect to the database. By default, it connects to the local socket using port 5432 with the currently logged in user:
psql {{[-h|--host]}} {{host}} {{[-p|--port]}} {{port}} {{[-U|--username]}} {{username}} {{database}}
Connect to the database on given server host running on given port with given username, without a password prompt:
psql {{[-h|--host]}} {{host}} {{[-p|--port]}} {{port}} {{[-U|--username]}} {{username}} {{[-W|--password]}} {{database}}
Connect to the database; user will be prompted for password:
redis-cli
View Details ▼
redis-cli
Open a connection to a Redis server.
redis-cli
Connect to the local server:
redis-cli -h {{host}}
Connect to a remote server on the default port (6379):
redis-cli -h {{host}} -p {{port}}
Connect to a remote server specifying a port number:
