aboutsummaryrefslogtreecommitdiff
path: root/src/bashly.yml
blob: b6f3b73e98a9b5f6220a2c88afae66d3220e0d9d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: tama
help: Command-line Hiruki Client
version: 0.1.0
dependencies: [curl, echo, tr, jq, sed, mdcat]
commands:
  - name: trending
    alias: t
    help: Trending anime
  - name: popular
    alias: p
    help: Popular anime
  - name: upcoming
    alias: u
    help: Upcoming anime
  - name: search
    alias: s
    args:
      - name: query
        repeatable: true
        required: true
    help: Search for a number of anime
  - name: watch
    alias: w
    args:
      - name: id
        required: true
        help: |
          Found by either the trending, popular, upcoming, or search subcommand
      - name: episode
        required: true
        help: Episode to watch
    help: Watch an anime by episode
    dependencies: [xdg-open, base64]
    flags:
      - long: --browser
        short: -b
        help: Open the stream in your browser instead of a local video player
      - long: --player
        short: -p
        arg: player
        help: Override mpv as the local video player
        default: mpv
  - name: episodes
    alias: e
    args:
      - name: id
        required: true
    help: An anime's episodes
    dependencies: [head]
  - name: recommend
    alias: r
    args:
      - name: id
        required: true
        help: |
          View recommended and similar anime to an anime