-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump Cargo.toml to version 0.1.6 and add missing docs to README
- Loading branch information
1 parent
98e4d45
commit 3b18170
Showing
3 changed files
with
53 additions
and
3 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "fh" | ||
version = "0.1.5" | ||
version = "0.1.6" | ||
authors = ["Determinate Systems <[email protected]>"] | ||
edition = "2021" | ||
license = "Apache 2.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,6 +57,7 @@ Respond to the prompts it provides you and at the end `fh` will write a `flake.n | |
|
||
`fh init` has built-in support for the following languages: | ||
|
||
* [Elm] | ||
* [Go] | ||
* [Java] | ||
* [JavaScript] | ||
|
@@ -165,7 +166,6 @@ fh list flakes | |
... | ||
``` | ||
|
||
|
||
#### List orgs | ||
|
||
```shell | ||
|
@@ -203,6 +203,50 @@ fh list versions hyprwm/Hyprland "0.1.*" | |
+------------------------------------------------------------------------------------------------------------------------------+ | ||
``` | ||
|
||
### List by label | ||
|
||
You can list flakes by label using the `fh list label` comand: | ||
|
||
```shell | ||
fh list label <label> | ||
``` | ||
|
||
Here's an example: | ||
|
||
```shell | ||
fh list label wayland | ||
``` | ||
|
||
```console | ||
+-------------------------------------------------------------+ | ||
| Flake FlakeHub URL | | ||
+-------------------------------------------------------------+ | ||
| hyprwm/Hyprland https://flakehub.com/flake/hyprwm/Hyprland | | ||
+-------------------------------------------------------------+ | ||
``` | ||
|
||
## Shell completion | ||
|
||
You can generate shell completion scripts using the `fh completion` command: | ||
|
||
```shell | ||
fh completion <shell> | ||
``` | ||
|
||
Here's an example: | ||
|
||
```shell | ||
fh completion bash | ||
``` | ||
|
||
These shells are supported: | ||
|
||
* [Bash] | ||
* [Elvish] | ||
* [Fish] | ||
* [Powershell] | ||
* [zsh] | ||
|
||
## A note on automation | ||
|
||
Piping `fh list` commands to another program emits [CSV] instead of the stylized table. | ||
|
@@ -217,7 +261,11 @@ You can apply the `--json` flag to each list command to produce JSON output. | |
|
||
For support, email [email protected] or [join our Discord](https://discord.gg/invite/a4EcQQ8STr). | ||
|
||
[bash]: https://gnu.org/software/bash | ||
[csv]: https://en.wikipedia.org/wiki/Comma-separated_values | ||
[elm]: https://elm-lang.org | ||
[elvish]: https://elv.sh | ||
[fish]: https://fishshell.com | ||
[flakehub]: https://flakehub.com | ||
[flakes]: https://flakehub.com/flakes | ||
[go]: https://golang.org | ||
|
@@ -229,8 +277,10 @@ For support, email [email protected] or [join our Discord](https://discord.gg | |
[nixpkgs]: https://zero-to-nix.com/concepts/nixpkgs | ||
[orgs]: https://flakehub.com/orgs | ||
[php]: https://php.net | ||
[powershell]: https://learn.microsoft.com/powershell | ||
[python]: https://python.org | ||
[ruby]: https://ruby-lang.org | ||
[rust]: https://rust-lang.org | ||
[semver]: https://flakehub.com/docs#semver | ||
[zig]: https://ziglang.org | ||
[zsh]: https://zsh.org |