complete -c nickel -n "__fish_use_subcommand" -l color -d 'Configure when to output messages in color' -r -f -a "{auto	'',always	'',never	''}"
complete -c nickel -n "__fish_use_subcommand" -l error-format -d 'Output error messages in a specific format. The schema of serialized errors reflects the way they are currently rendered. This schema is not guaranteed to be stable yet' -r -f -a "{text	'',json	'',yaml	'',toml	''}"
complete -c nickel -n "__fish_use_subcommand" -l metrics -d 'Print all recorded metrics at the very end of the program'
complete -c nickel -n "__fish_use_subcommand" -s h -l help -d 'Print help'
complete -c nickel -n "__fish_use_subcommand" -s V -l version -d 'Print version'
complete -c nickel -n "__fish_use_subcommand" -f -a "eval" -d 'Evaluate a Nickel program and pretty-print the result'
complete -c nickel -n "__fish_use_subcommand" -f -a "pprint-ast" -d 'Converts the parsed representation (AST) back to Nickel source code and prints it. Used for debugging purpose'
complete -c nickel -n "__fish_use_subcommand" -f -a "export" -d 'Exports the result to a different format'
complete -c nickel -n "__fish_use_subcommand" -f -a "query" -d 'Prints the metadata attached to an attribute, given as a path'
complete -c nickel -n "__fish_use_subcommand" -f -a "typecheck" -d 'Typechecks the program but do not run it'
complete -c nickel -n "__fish_use_subcommand" -f -a "repl" -d 'Starts a REPL session'
complete -c nickel -n "__fish_use_subcommand" -f -a "doc" -d 'Generates the documentation files for the specified nickel file'
complete -c nickel -n "__fish_use_subcommand" -f -a "format" -d 'Format Nickel files'
complete -c nickel -n "__fish_use_subcommand" -f -a "gen-completions" -d 'Generate shell completion files'
complete -c nickel -n "__fish_use_subcommand" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
complete -c nickel -n "__fish_seen_subcommand_from eval" -s I -l import-path -d 'Adds a directory to the list of paths to search for imports in' -r -F
complete -c nickel -n "__fish_seen_subcommand_from eval" -l field -d 'Only query or act on a specific field of the configuration. For example, `nickel export config.ncl --field machines.servers.remote_builder` will only evaluate and export the content of the `remote_builder` field' -r
complete -c nickel -n "__fish_seen_subcommand_from eval" -l color -d 'Configure when to output messages in color' -r -f -a "{auto	'',always	'',never	''}"
complete -c nickel -n "__fish_seen_subcommand_from eval" -l error-format -d 'Output error messages in a specific format. The schema of serialized errors reflects the way they are currently rendered. This schema is not guaranteed to be stable yet' -r -f -a "{text	'',json	'',yaml	'',toml	''}"
complete -c nickel -n "__fish_seen_subcommand_from eval" -l metrics -d 'Print all recorded metrics at the very end of the program'
complete -c nickel -n "__fish_seen_subcommand_from eval" -s h -l help -d 'Print help (see more with \'--help\')'
complete -c nickel -n "__fish_seen_subcommand_from pprint-ast" -s I -l import-path -d 'Adds a directory to the list of paths to search for imports in' -r -F
complete -c nickel -n "__fish_seen_subcommand_from pprint-ast" -l color -d 'Configure when to output messages in color' -r -f -a "{auto	'',always	'',never	''}"
complete -c nickel -n "__fish_seen_subcommand_from pprint-ast" -l error-format -d 'Output error messages in a specific format. The schema of serialized errors reflects the way they are currently rendered. This schema is not guaranteed to be stable yet' -r -f -a "{text	'',json	'',yaml	'',toml	''}"
complete -c nickel -n "__fish_seen_subcommand_from pprint-ast" -l transform -d 'Performs code transformations before printing'
complete -c nickel -n "__fish_seen_subcommand_from pprint-ast" -l metrics -d 'Print all recorded metrics at the very end of the program'
complete -c nickel -n "__fish_seen_subcommand_from pprint-ast" -s h -l help -d 'Print help (see more with \'--help\')'
complete -c nickel -n "__fish_seen_subcommand_from export" -s f -l format -r -f -a "{raw	'',json	'',yaml	'',toml	''}"
complete -c nickel -n "__fish_seen_subcommand_from export" -s o -l output -d 'Output file. Standard output by default' -r -F
complete -c nickel -n "__fish_seen_subcommand_from export" -s I -l import-path -d 'Adds a directory to the list of paths to search for imports in' -r -F
complete -c nickel -n "__fish_seen_subcommand_from export" -l field -d 'Only query or act on a specific field of the configuration. For example, `nickel export config.ncl --field machines.servers.remote_builder` will only evaluate and export the content of the `remote_builder` field' -r
complete -c nickel -n "__fish_seen_subcommand_from export" -l color -d 'Configure when to output messages in color' -r -f -a "{auto	'',always	'',never	''}"
complete -c nickel -n "__fish_seen_subcommand_from export" -l error-format -d 'Output error messages in a specific format. The schema of serialized errors reflects the way they are currently rendered. This schema is not guaranteed to be stable yet' -r -f -a "{text	'',json	'',yaml	'',toml	''}"
complete -c nickel -n "__fish_seen_subcommand_from export" -l metrics -d 'Print all recorded metrics at the very end of the program'
complete -c nickel -n "__fish_seen_subcommand_from export" -s h -l help -d 'Print help (see more with \'--help\')'
complete -c nickel -n "__fish_seen_subcommand_from query" -s I -l import-path -d 'Adds a directory to the list of paths to search for imports in' -r -F
complete -c nickel -n "__fish_seen_subcommand_from query" -l field -d 'Only query or act on a specific field of the configuration. For example, `nickel export config.ncl --field machines.servers.remote_builder` will only evaluate and export the content of the `remote_builder` field' -r
complete -c nickel -n "__fish_seen_subcommand_from query" -l color -d 'Configure when to output messages in color' -r -f -a "{auto	'',always	'',never	''}"
complete -c nickel -n "__fish_seen_subcommand_from query" -l error-format -d 'Output error messages in a specific format. The schema of serialized errors reflects the way they are currently rendered. This schema is not guaranteed to be stable yet' -r -f -a "{text	'',json	'',yaml	'',toml	''}"
complete -c nickel -n "__fish_seen_subcommand_from query" -l doc
complete -c nickel -n "__fish_seen_subcommand_from query" -l contract
complete -c nickel -n "__fish_seen_subcommand_from query" -l type
complete -c nickel -n "__fish_seen_subcommand_from query" -l default
complete -c nickel -n "__fish_seen_subcommand_from query" -l value
complete -c nickel -n "__fish_seen_subcommand_from query" -l metrics -d 'Print all recorded metrics at the very end of the program'
complete -c nickel -n "__fish_seen_subcommand_from query" -s h -l help -d 'Print help (see more with \'--help\')'
complete -c nickel -n "__fish_seen_subcommand_from typecheck" -s I -l import-path -d 'Adds a directory to the list of paths to search for imports in' -r -F
complete -c nickel -n "__fish_seen_subcommand_from typecheck" -l color -d 'Configure when to output messages in color' -r -f -a "{auto	'',always	'',never	''}"
complete -c nickel -n "__fish_seen_subcommand_from typecheck" -l error-format -d 'Output error messages in a specific format. The schema of serialized errors reflects the way they are currently rendered. This schema is not guaranteed to be stable yet' -r -f -a "{text	'',json	'',yaml	'',toml	''}"
complete -c nickel -n "__fish_seen_subcommand_from typecheck" -l metrics -d 'Print all recorded metrics at the very end of the program'
complete -c nickel -n "__fish_seen_subcommand_from typecheck" -s h -l help -d 'Print help (see more with \'--help\')'
complete -c nickel -n "__fish_seen_subcommand_from repl" -l history-file -r -F
complete -c nickel -n "__fish_seen_subcommand_from repl" -l color -d 'Configure when to output messages in color' -r -f -a "{auto	'',always	'',never	''}"
complete -c nickel -n "__fish_seen_subcommand_from repl" -l error-format -d 'Output error messages in a specific format. The schema of serialized errors reflects the way they are currently rendered. This schema is not guaranteed to be stable yet' -r -f -a "{text	'',json	'',yaml	'',toml	''}"
complete -c nickel -n "__fish_seen_subcommand_from repl" -l metrics -d 'Print all recorded metrics at the very end of the program'
complete -c nickel -n "__fish_seen_subcommand_from repl" -s h -l help -d 'Print help'
complete -c nickel -n "__fish_seen_subcommand_from doc" -s o -l output -d 'The path of the generated documentation file. Default to `~/.nickel/doc/<input-file>.md` for input `<input-file>.ncl`, or to `~/.nickel/doc/out.md` if the input is read from stdin' -r -F
complete -c nickel -n "__fish_seen_subcommand_from doc" -l format -d 'The output format for the generated documentation' -r -f -a "{json	'',markdown	''}"
complete -c nickel -n "__fish_seen_subcommand_from doc" -s I -l import-path -d 'Adds a directory to the list of paths to search for imports in' -r -F
complete -c nickel -n "__fish_seen_subcommand_from doc" -l field -d 'Only query or act on a specific field of the configuration. For example, `nickel export config.ncl --field machines.servers.remote_builder` will only evaluate and export the content of the `remote_builder` field' -r
complete -c nickel -n "__fish_seen_subcommand_from doc" -l color -d 'Configure when to output messages in color' -r -f -a "{auto	'',always	'',never	''}"
complete -c nickel -n "__fish_seen_subcommand_from doc" -l error-format -d 'Output error messages in a specific format. The schema of serialized errors reflects the way they are currently rendered. This schema is not guaranteed to be stable yet' -r -f -a "{text	'',json	'',yaml	'',toml	''}"
complete -c nickel -n "__fish_seen_subcommand_from doc" -l stdout -d 'Write documentation to stdout. Takes precedence over `output`'
complete -c nickel -n "__fish_seen_subcommand_from doc" -l metrics -d 'Print all recorded metrics at the very end of the program'
complete -c nickel -n "__fish_seen_subcommand_from doc" -s h -l help -d 'Print help (see more with \'--help\')'
complete -c nickel -n "__fish_seen_subcommand_from format" -s I -l import-path -d 'Adds a directory to the list of paths to search for imports in' -r -F
complete -c nickel -n "__fish_seen_subcommand_from format" -l color -d 'Configure when to output messages in color' -r -f -a "{auto	'',always	'',never	''}"
complete -c nickel -n "__fish_seen_subcommand_from format" -l error-format -d 'Output error messages in a specific format. The schema of serialized errors reflects the way they are currently rendered. This schema is not guaranteed to be stable yet' -r -f -a "{text	'',json	'',yaml	'',toml	''}"
complete -c nickel -n "__fish_seen_subcommand_from format" -l metrics -d 'Print all recorded metrics at the very end of the program'
complete -c nickel -n "__fish_seen_subcommand_from format" -s h -l help -d 'Print help (see more with \'--help\')'
complete -c nickel -n "__fish_seen_subcommand_from gen-completions" -l color -d 'Configure when to output messages in color' -r -f -a "{auto	'',always	'',never	''}"
complete -c nickel -n "__fish_seen_subcommand_from gen-completions" -l error-format -d 'Output error messages in a specific format. The schema of serialized errors reflects the way they are currently rendered. This schema is not guaranteed to be stable yet' -r -f -a "{text	'',json	'',yaml	'',toml	''}"
complete -c nickel -n "__fish_seen_subcommand_from gen-completions" -l metrics -d 'Print all recorded metrics at the very end of the program'
complete -c nickel -n "__fish_seen_subcommand_from gen-completions" -s h -l help -d 'Print help'
complete -c nickel -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from eval; and not __fish_seen_subcommand_from pprint-ast; and not __fish_seen_subcommand_from export; and not __fish_seen_subcommand_from query; and not __fish_seen_subcommand_from typecheck; and not __fish_seen_subcommand_from repl; and not __fish_seen_subcommand_from doc; and not __fish_seen_subcommand_from format; and not __fish_seen_subcommand_from gen-completions; and not __fish_seen_subcommand_from help" -f -a "eval" -d 'Evaluate a Nickel program and pretty-print the result'
complete -c nickel -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from eval; and not __fish_seen_subcommand_from pprint-ast; and not __fish_seen_subcommand_from export; and not __fish_seen_subcommand_from query; and not __fish_seen_subcommand_from typecheck; and not __fish_seen_subcommand_from repl; and not __fish_seen_subcommand_from doc; and not __fish_seen_subcommand_from format; and not __fish_seen_subcommand_from gen-completions; and not __fish_seen_subcommand_from help" -f -a "pprint-ast" -d 'Converts the parsed representation (AST) back to Nickel source code and prints it. Used for debugging purpose'
complete -c nickel -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from eval; and not __fish_seen_subcommand_from pprint-ast; and not __fish_seen_subcommand_from export; and not __fish_seen_subcommand_from query; and not __fish_seen_subcommand_from typecheck; and not __fish_seen_subcommand_from repl; and not __fish_seen_subcommand_from doc; and not __fish_seen_subcommand_from format; and not __fish_seen_subcommand_from gen-completions; and not __fish_seen_subcommand_from help" -f -a "export" -d 'Exports the result to a different format'
complete -c nickel -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from eval; and not __fish_seen_subcommand_from pprint-ast; and not __fish_seen_subcommand_from export; and not __fish_seen_subcommand_from query; and not __fish_seen_subcommand_from typecheck; and not __fish_seen_subcommand_from repl; and not __fish_seen_subcommand_from doc; and not __fish_seen_subcommand_from format; and not __fish_seen_subcommand_from gen-completions; and not __fish_seen_subcommand_from help" -f -a "query" -d 'Prints the metadata attached to an attribute, given as a path'
complete -c nickel -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from eval; and not __fish_seen_subcommand_from pprint-ast; and not __fish_seen_subcommand_from export; and not __fish_seen_subcommand_from query; and not __fish_seen_subcommand_from typecheck; and not __fish_seen_subcommand_from repl; and not __fish_seen_subcommand_from doc; and not __fish_seen_subcommand_from format; and not __fish_seen_subcommand_from gen-completions; and not __fish_seen_subcommand_from help" -f -a "typecheck" -d 'Typechecks the program but do not run it'
complete -c nickel -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from eval; and not __fish_seen_subcommand_from pprint-ast; and not __fish_seen_subcommand_from export; and not __fish_seen_subcommand_from query; and not __fish_seen_subcommand_from typecheck; and not __fish_seen_subcommand_from repl; and not __fish_seen_subcommand_from doc; and not __fish_seen_subcommand_from format; and not __fish_seen_subcommand_from gen-completions; and not __fish_seen_subcommand_from help" -f -a "repl" -d 'Starts a REPL session'
complete -c nickel -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from eval; and not __fish_seen_subcommand_from pprint-ast; and not __fish_seen_subcommand_from export; and not __fish_seen_subcommand_from query; and not __fish_seen_subcommand_from typecheck; and not __fish_seen_subcommand_from repl; and not __fish_seen_subcommand_from doc; and not __fish_seen_subcommand_from format; and not __fish_seen_subcommand_from gen-completions; and not __fish_seen_subcommand_from help" -f -a "doc" -d 'Generates the documentation files for the specified nickel file'
complete -c nickel -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from eval; and not __fish_seen_subcommand_from pprint-ast; and not __fish_seen_subcommand_from export; and not __fish_seen_subcommand_from query; and not __fish_seen_subcommand_from typecheck; and not __fish_seen_subcommand_from repl; and not __fish_seen_subcommand_from doc; and not __fish_seen_subcommand_from format; and not __fish_seen_subcommand_from gen-completions; and not __fish_seen_subcommand_from help" -f -a "format" -d 'Format Nickel files'
complete -c nickel -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from eval; and not __fish_seen_subcommand_from pprint-ast; and not __fish_seen_subcommand_from export; and not __fish_seen_subcommand_from query; and not __fish_seen_subcommand_from typecheck; and not __fish_seen_subcommand_from repl; and not __fish_seen_subcommand_from doc; and not __fish_seen_subcommand_from format; and not __fish_seen_subcommand_from gen-completions; and not __fish_seen_subcommand_from help" -f -a "gen-completions" -d 'Generate shell completion files'
complete -c nickel -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from eval; and not __fish_seen_subcommand_from pprint-ast; and not __fish_seen_subcommand_from export; and not __fish_seen_subcommand_from query; and not __fish_seen_subcommand_from typecheck; and not __fish_seen_subcommand_from repl; and not __fish_seen_subcommand_from doc; and not __fish_seen_subcommand_from format; and not __fish_seen_subcommand_from gen-completions; and not __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
