fn
所属分类:其他
开发工具:Shell
文件大小:0KB
下载次数:0
上传日期:2023-08-14 22:12:02
上 传 者:
sh-1993
说明: 启动、配置和管理新闻船的订阅源。,
(Launch, configure, and manage your feeds for Newsboat.,)
文件列表:
.prettierrc (150, 2024-01-08)
LICENSE (1065, 2024-01-08)
docs/ (0, 2024-01-08)
docs/config.cfg (313, 2024-01-08)
docs/demo.gif (832059, 2024-01-08)
docs/demo.tape (1301, 2024-01-08)
docs/tape.sh (493, 2024-01-08)
docs/urls.txt (30, 2024-01-08)
fn.sh (4207, 2024-01-08)
install.sh (563, 2024-01-08)
justfile (441, 2024-01-08)
# `fn`
![Recording of using `fn` in the terminal](https://github.com/uncenter/fn/blob/master/docs/demo.gif)
`fn` is a simple wrapper around [Newsboat](https://github.com/uncenter/fn/blob/master/https://newsboat.org/) to make it easier to launch, configure, and manage your feeds.
See [Installation](https://github.com/uncenter/fn/blob/master/#installation) to get started, update, or uninstall.
## Usage
```sh
fn [command]
```
| Command | Description |
| ------------------------ | ------------------------------ |
| `add ` | Add a URL. |
| `remove ` | Remove a URL. |
| `list` | List all URLs. |
| `edit` | Edit the URL file. |
| `configure` | Edit the Newsboat config file. |
| `launch`, `start`, `run` | Launch Newsboat. |
| `update`, `upgrade` | Update `fn`. |
| `uninstall` | Uninstall `fn`. |
| `help`, `-h`, `--help` | Display help message. |
| `-V`, `--version` | Display current version. |
Any unrecognized commands or options will be passed to Newsboat. ~~For example, `fn -h` will show the Newsboat help message, **not** the help message for `fn`.~~ As of [`v1.2.0`](https://github.com/uncenter/fn/blob/master/https://github.com/uncenter/fn/releases/tag/v1.2.0), the following options will be accepted by `fn`: `-h`, `--help`, `--version`, `-V`. If you want help with Newsboat instead of `fn`, use `fn run -h` (or just `newsboat -h`).
## Installation
```sh
curl -fsSL https://github.com/uncenter/fn/raw/main/install.sh | sh
```
You may need to manually add either `$XDG_BIN_HOME` or `$HOME/.local/bin`, depending on the installation location, to your `$PATH` if it is not already present.
```sh
export PATH="$PATH:$HOME/.local/bin"
```
## Environment variables
`FN_NO_ARGS_LAUNCH` - If set, `fn` will launch Newsboat when no arguments are provided. By default, `fn` will show a brief usage message.
## License
[MIT](https://github.com/uncenter/fn/blob/master/LICENSE)
近期下载者:
相关文件:
收藏者: