Skip to content

Commit d83f529

Browse files
committed
Add commands
1 parent 92cb73e commit d83f529

48 files changed

Lines changed: 4440 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

assets/commands/crates-tui.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# TAGLINE
2+
3+
Terminal UI for exploring crates.io Rust packages
4+
5+
# TLDR
6+
7+
**Launch** the TUI to browse crates.io
8+
9+
```crates-tui```
10+
11+
**Search** for a specific crate
12+
13+
```crates-tui [search_term]```
14+
15+
**Copy** crate information to clipboard from within the TUI
16+
17+
```crates-tui```
18+
> Use `c` to copy the selected crate's information
19+
20+
# SYNOPSIS
21+
22+
**crates-tui** [_search_term_]
23+
24+
# DESCRIPTION
25+
26+
**crates-tui** is a terminal user interface application for browsing and exploring Rust packages from crates.io. It provides an interactive way to search for crates, view package details, and copy information to the clipboard without leaving the terminal.
27+
28+
The interface allows users to navigate through search results, view crate metadata including version, description, and download statistics, and quickly copy relevant information for use in Cargo.toml files or documentation.
29+
30+
# KEYBINDINGS
31+
32+
**↑/↓** or **k/j**
33+
> Navigate up/down through the crate list
34+
35+
**Enter**
36+
> View detailed information about the selected crate
37+
38+
**c**
39+
> Copy the selected crate's information to clipboard
40+
41+
**q**
42+
> Quit the application
43+
44+
**/**
45+
> Enter search mode
46+
47+
# CAVEATS
48+
49+
Requires a stable internet connection to fetch data from crates.io. Clipboard functionality depends on the system's clipboard provider. Some terminal emulators may have limited clipboard support.
50+
51+
# HISTORY
52+
53+
**crates-tui** was developed as a Rust community tool to provide a fast, terminal-based alternative to browsing crates.io through a web browser. It leverages Rust's ecosystem and modern TUI libraries to create an efficient package discovery tool.
54+
55+
# SEE ALSO
56+
57+
[cargo](/man/cargo)(1), [rustc](/man/rustc)(1)

assets/commands/csvlens.md

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
# TAGLINE
2+
3+
CSV file viewer with search and navigation
4+
5+
# TLDR
6+
7+
**View** a CSV file with column alignment and navigation
8+
9+
```csvlens [path/to/file.csv]```
10+
11+
**Search** for a specific pattern in the CSV
12+
13+
```csvlens [path/to/file.csv] -f [pattern]```
14+
15+
**View** with a specific delimiter instead of comma
16+
17+
```csvlens [path/to/file.csv] -d '[delimiter]'```
18+
19+
**View** only specific columns
20+
21+
```csvlens [path/to/file.csv] -c [1,3,5]```
22+
23+
# SYNOPSIS
24+
25+
**csvlens** [_options_] [_file_]
26+
27+
# PARAMETERS
28+
29+
**-f, --filter** _PATTERN_
30+
> Filter rows matching the pattern
31+
32+
**-d, --delimiter** _CHAR_
33+
> Specify delimiter character (default: comma)
34+
35+
**-c, --columns** _LIST_
36+
> Show only specified columns (comma-separated indices)
37+
38+
**-H, --no-header**
39+
> Treat the first row as data, not headers
40+
41+
**-n, --line-number**
42+
> Show line numbers
43+
44+
**--tab**
45+
> Use tab as delimiter
46+
47+
**--semi**
48+
> Use semicolon as delimiter
49+
50+
**-h, --help**
51+
> Display help and exit
52+
53+
**-V, --version**
54+
> Display version and exit
55+
56+
# DESCRIPTION
57+
58+
**csvlens** is a command-line CSV file viewer designed for efficiently browsing and searching through CSV data. It provides column-aligned display, interactive search filtering, and keyboard navigation similar to less or vim.
59+
60+
The tool automatically detects and aligns columns for easy reading, supports various delimiters beyond commas, and allows filtering data without modifying the original file. It's particularly useful for inspecting large CSV files where traditional editors may struggle with performance.
61+
62+
# KEYBINDINGS
63+
64+
**↑/↓** or **k/j**
65+
> Navigate up/down through rows
66+
67+
**←/→** or **h/l**
68+
> Scroll horizontally
69+
70+
**/**
71+
> Search/filter mode
72+
73+
**n/N**
74+
> Next/previous search result
75+
76+
**g/G**
77+
> Go to first/last row
78+
79+
**q**
80+
> Quit
81+
82+
# CAVEATS
83+
84+
Very large CSV files may still experience performance limitations depending on available memory. Unicode and special character handling depends on terminal capabilities. Some complex CSV formats with embedded newlines may not render correctly.
85+
86+
# HISTORY
87+
88+
**csvlens** was developed to address the need for a fast, lightweight CSV viewer in the terminal. It draws inspiration from traditional Unix tools like less and grep while adding CSV-specific formatting and navigation features.
89+
90+
# SEE ALSO
91+
92+
[cat](/man/cat)(1), [less](/man/less)(1), [grep](/man/grep)(1), [awk](/man/awk)(1)

assets/commands/daff.md

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
# TAGLINE
2+
3+
Data diff tool for comparing tables and CSV files
4+
5+
# TLDR
6+
7+
**Compare** two CSV files and show differences
8+
9+
```daff diff [file1.csv] [file2.csv]```
10+
11+
**Create** a patch file from differences
12+
13+
```daff diff [file1.csv] [file2.csv] > [changes.patch]```
14+
15+
**Apply** a patch to update a file
16+
17+
```daff patch [file.csv] [changes.patch]```
18+
19+
**Merge** three versions of a file
20+
21+
```daff merge [parent.csv] [local.csv] [remote.csv]```
22+
23+
**Format** a CSV file with aligned columns
24+
25+
```daff render [file.csv]```
26+
27+
# SYNOPSIS
28+
29+
**daff** [_command_] [_options_] [_files_]
30+
31+
# DESCRIPTION
32+
33+
**daff** is a data diffing tool designed for comparing tabular data such as CSV files, database tables, and spreadsheets. It provides git-like diff and patch operations specifically optimized for structured data formats.
34+
35+
The tool can detect added, removed, and modified rows and columns, represent differences in various formats including HTML and colored terminal output, and apply patches to update data files. It's particularly useful for tracking changes in data exports, database dumps, and collaborative data editing workflows.
36+
37+
# COMMANDS
38+
39+
**diff**
40+
> Compare two tables and output differences
41+
42+
**patch**
43+
> Apply a patch file to a table
44+
45+
**merge**
46+
> Perform a three-way merge of tables
47+
48+
**render**
49+
> Display a table with formatting
50+
51+
**convert**
52+
> Convert between table formats
53+
54+
# OPTIONS
55+
56+
**--color**
57+
> Force colored output (default: auto-detect)
58+
59+
**--no-color**
60+
> Disable colored output
61+
62+
**--format** _FORMAT_
63+
> Output format: csv, tsv, html, json, markdown
64+
65+
**--output** _FILE_
66+
> Write output to file instead of stdout
67+
68+
**--git**
69+
> Use git-style diff format
70+
71+
**--padding** _N_
72+
> Set column padding (default: 2)
73+
74+
**--unordered**
75+
> Treat rows as unordered during comparison
76+
77+
**-h, --help**
78+
> Display help and exit
79+
80+
**--version**
81+
> Display version and exit
82+
83+
# CAVEATS
84+
85+
Data types are inferred from content; explicit type declarations are not supported. Very large files may require significant memory. Comparison of unordered data requires more computational resources. Binary data and special characters may not be handled correctly in all output formats.
86+
87+
# HISTORY
88+
89+
**daff** was originally created by Paul Fitzpatrick as a tool for data versioning and collaboration. The name comes from "data diff." It has been implemented in multiple languages including JavaScript, Python, and Java. The tool was designed to bring version control concepts to data files, making it easier to track changes in datasets over time.
90+
91+
# SEE ALSO
92+
93+
[diff](/man/diff)(1), [patch](/man/patch)(1), [git](/man/git)(1), [csvlens](/man/csvlens)(1)

assets/commands/devzat.md

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# TAGLINE
2+
3+
SSH-based chat platform for the terminal
4+
5+
# TLDR
6+
7+
**Connect** to the devzat chat server
8+
9+
```devzat [server_address]```
10+
11+
**Join** a specific channel
12+
13+
```devzat [server_address] -c [channel_name]```
14+
15+
**Start** a private message with a user
16+
17+
```devzat [server_address] -u [username]```
18+
19+
**Set** your display name
20+
21+
```devzat [server_address] -n [nickname]```
22+
23+
# SYNOPSIS
24+
25+
**devzat** [_options_] [_server_]
26+
27+
# PARAMETERS
28+
29+
**-c, --channel** _CHANNEL_
30+
> Join a specific channel on connection
31+
32+
**-u, --user** _USER_
33+
> Start a private conversation with user
34+
35+
**-n, --name** _NAME_
36+
> Set display name/nickname
37+
38+
**-k, --key** _FILE_
39+
> Path to SSH private key for authentication
40+
41+
**-h, --help**
42+
> Display help and exit
43+
44+
**-v, --version**
45+
> Display version and exit
46+
47+
# DESCRIPTION
48+
49+
**devzat** is an SSH-based chat platform that allows users to communicate through the terminal using SSH connections. It provides a real-time chat experience without requiring any special client software - just SSH into a devzat server and start chatting.
50+
51+
The platform supports public channels, private messaging, and user presence indicators. Authentication is handled via SSH keys, making it secure and convenient for developers already familiar with SSH workflows.
52+
53+
# COMMANDS
54+
55+
Once connected:
56+
57+
**/join** _CHANNEL_
58+
> Join a different channel
59+
60+
**/msg** _USER_ _MESSAGE_
61+
> Send a private message to a user
62+
63+
**/list**
64+
> List available channels
65+
66+
**/users**
67+
> List users in current channel
68+
69+
**/nick** _NAME_
70+
> Change your nickname
71+
72+
**/quit**
73+
> Disconnect from the server
74+
75+
# CAVEATS
76+
77+
Requires SSH client and valid SSH key pair for authentication. Server address must be running a devzat instance. Connection is encrypted via SSH but messages are visible to server operators. File sharing capabilities may be limited.
78+
79+
# HISTORY
80+
81+
**devzat** was created as a fun project to enable chat directly through SSH, leveraging the security and ubiquity of SSH infrastructure. It gained popularity in developer communities as a lightweight alternative to traditional chat applications.
82+
83+
# SEE ALSO
84+
85+
[ssh](/man/ssh)(1), [weechat](/man/weechat)(1), [irssi](/man/irssi)(1)

0 commit comments

Comments
 (0)