View Source Credo.CLI.Options (Credo v1.7.11)

The Options struct represents the options given on the command line.

The Options struct is stored as part of the Execution struct.

Summary

Functions

parse(argv, current_dir, command_names, given_command_name, ignored_args, switches_definition, aliases)

This function is deprecated. Options.parse/7 is deprecated, use Options.parse/8 instead.

parse(use_strict_parser?, argv, current_dir, command_names, given_command_name, ignored_args, switches_definition, aliases, treat_unknown_args_as_files? \\ false)

Returns a Options struct for the given parameters.