Skip to content

Commit 326d675

Browse files
sync from internal repository
1 parent ae3189b commit 326d675

File tree

7 files changed

+25
-21
lines changed

7 files changed

+25
-21
lines changed

README.md

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,40 +30,47 @@ uvx dkdc-links
3030

3131
## Usage
3232

33-
```
33+
```bash
3434
dkdc-links [OPTIONS] [LINKS]...
3535
```
3636

37+
### Configuration
38+
3739
Configuration lives at `$HOME/.config/dkdc/links/config.toml`. Example:
3840

3941
```toml
40-
[aliases]
41-
gh = "github"
42-
li = "linkedin"
43-
4442
[links]
4543
github = "https://github.com"
4644
linkedin = "https://linkedin.com"
4745

46+
[aliases]
47+
gh = "github"
48+
li = "linkedin"
49+
4850
[groups]
4951
social = ["github", "linkedin"]
5052
```
5153

52-
Open links by name or alias:
54+
Links map to URLs, aliases map to links, and groups map to a list of aliases or links.
55+
56+
Use the `--config` or `--app` or `--webapp` option to edit the configuration file.
57+
58+
### Open links
59+
60+
Open links by name or alias or group:
5361

5462
```bash
55-
# Open a link
5663
dkdc-links github
57-
58-
# Open multiple links
5964
dkdc-links gh linkedin
60-
61-
# Open a group
6265
dkdc-links social
6366
```
6467

68+
You can input multiple links, aliases, or groups at once. They will be opened in the order they are provided.
69+
6570
### Options
6671

72+
Available options:
73+
6774
| Flag | Short | Description |
6875
|------|-------|-------------|
6976
| `--config` | `-c` | Open configuration file in `$EDITOR` |
@@ -72,6 +79,3 @@ dkdc-links social
7279
| `--help` | `-h` | Print help |
7380
| `--version` | `-V` | Print version |
7481

75-
## Configuration
76-
77-
Aliases map to links, links map to URLs, and groups expand to multiple aliases or links.

dkdc-links-py/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dkdc-links-py/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[package]
44
name = "dkdc-links-py"
5-
version = "4.1.3"
5+
version = "4.1.4"
66
edition = "2021"
77
authors = ["Cody <cody@dkdc.dev>"]
88
license = "MIT"

dkdc-links/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dkdc-links/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ codegen-units = 1
77

88
[package]
99
name = "dkdc-links"
10-
version = "4.1.3"
10+
version = "4.1.4"
1111
edition = "2021"
1212
authors = ["Cody <cody@dkdc.dev>"]
1313
description = "Bookmarks in your terminal"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "dkdc-links"
3-
version = "4.1.3"
3+
version = "4.1.4"
44
description = "Bookmarks in your terminal"
55
authors = [{ name = "Cody", email = "cody@dkdc.dev" }]
66
requires-python = ">=3.11"

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)