tokei/cli.yml
2016-05-20 12:44:24 +01:00

50 lines
1.4 KiB
YAML

# Copyright (c) 2015 Aaron Power
# Use of this source code is governed by the APACHE2.0/MIT license that can be
# found in the LICENCE-{APACHE/MIT} file.
bin_name: Tokei
name: Tokei
version: 2.0.0
author: Aaron P. <theaaronepower@gmail.com>
about: Count Code, Quickly.
args:
- exclude:
short: e
long: exclude
help: Ignore all files & directories containing the word
takes_value: true
- sort:
short: s
long: sort
takes_value: true
possible_values: [files, total, blanks, code, commments]
help: Will sort based on column
- input:
index: 1
multiple: true
required: true
help: The input file(s)/directory(ies)
conflicts_with:
- languages
- files:
short: f
long: files
takes_value: false
help: Will print out statistics on individual files.
- languages:
short: l
long: languages
conflicts_with:
- input
help: Prints out supported languages and their extensions
- file_input:
short: i
long: input
takes_value: true
help: "Gives statistics from a previous tokei run."
- output:
short: o
long: output
takes_value: true
help: Outputs Tokei in a specific format.
possible_values: [cbor, json, yaml]