Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
click_default_group.DefaultGroup Class Reference
Inheritance diagram for click_default_group.DefaultGroup:
Inheritance graph
[legend]
Collaboration diagram for click_default_group.DefaultGroup:
Collaboration graph
[legend]

Public Member Functions

 __init__ (self, *args, **kwargs)
 
 set_default_command (self, command)
 
 parse_args (self, ctx, args)
 
 get_command (self, ctx, cmd_name)
 
 resolve_command (self, ctx, args)
 
 format_commands (self, ctx, formatter)
 
 command (self, *args, **kwargs)
 
- Public Member Functions inherited from click.core.Group
dict[str, t.Any] to_info_dict (self, Context ctx)
 
None add_command (self, Command cmd, str|None name=None)
 
Group group (self, t.Callable[..., t.Any] __func)
 
t.Callable[[t.Callable[..., t.Any]], Groupgroup (self, *t.Any args, **t.Any kwargs)
 
t.Callable[[t.Callable[..., t.Any]], Group]|Group group (self, *t.Any args, **t.Any kwargs)
 
t.Callable[[F], F] result_callback (self, bool replace=False)
 
list[str] list_commands (self, Context ctx)
 
list[str] collect_usage_pieces (self, Context ctx)
 
None format_options (self, Context ctx, HelpFormatter formatter)
 
t.Any invoke (self, Context ctx)
 
list[CompletionItemshell_complete (self, Context ctx, str incomplete)
 
- Public Member Functions inherited from click.core.Command
str __repr__ (self)
 
str get_usage (self, Context ctx)
 
list[Parameterget_params (self, Context ctx)
 
None format_usage (self, Context ctx, HelpFormatter formatter)
 
list[str] get_help_option_names (self, Context ctx)
 
Option|None get_help_option (self, Context ctx)
 
_OptionParser make_parser (self, Context ctx)
 
str get_help (self, Context ctx)
 
str get_short_help_str (self, int limit=45)
 
None format_help (self, Context ctx, HelpFormatter formatter)
 
None format_help_text (self, Context ctx, HelpFormatter formatter)
 
None format_epilog (self, Context ctx, HelpFormatter formatter)
 
Context make_context (self, str|None info_name, list[str] args, Context|None parent=None, **t.Any extra)
 
t.NoReturn main (self, cabc.Sequence[str]|None args=None, str|None prog_name=None, str|None complete_var=None, t.Literal[True] standalone_mode=True, **t.Any extra)
 
t.Any main (self, cabc.Sequence[str]|None args=None, str|None prog_name=None, str|None complete_var=None, bool standalone_mode=..., **t.Any extra)
 
t.Any main (self, cabc.Sequence[str]|None args=None, str|None prog_name=None, str|None complete_var=None, bool standalone_mode=True, bool windows_expand_args=True, **t.Any extra)
 
t.Any __call__ (self, *t.Any args, **t.Any kwargs)
 

Public Attributes

 ignore_unknown_options
 
 default_cmd_name
 
 default_if_no_args
 
- Public Attributes inherited from click.core.Group
 no_args_is_help
 
 invoke_without_command
 
 subcommand_metavar
 
 chain
 
 commands
 
- Public Attributes inherited from click.core.Command
 name
 
 callback
 
 help
 
 epilog
 
 options_metavar
 
 short_help
 
 add_help_option
 
 no_args_is_help
 
 hidden
 
 deprecated
 

Additional Inherited Members

- Static Public Attributes inherited from click.core.Group
bool allow_extra_args = True
 
bool allow_interspersed_args = False
 
type command_class = None
 
type group_class = None
 
- Static Public Attributes inherited from click.core.Command
type context_class = Context
 
bool allow_extra_args = False
 
bool allow_interspersed_args = True
 
bool ignore_unknown_options = False
 
- Protected Member Functions inherited from click.core.Command
None _main_shell_completion (self, cabc.MutableMapping[str, t.Any] ctx_args, str prog_name, str|None complete_var=None)
 
- Protected Attributes inherited from click.core.Group
 _result_callback
 
- Protected Attributes inherited from click.core.Command
 _help_option
 

Detailed Description

Invokes a subcommand marked with `default=True` if any subcommand not
chosen.

:param default_if_no_args: resolves to the default command if no arguments
                           passed.

Constructor & Destructor Documentation

◆ __init__()

click_default_group.DefaultGroup.__init__ (   self,
args,
**  kwargs 
)

Reimplemented from click.core.Group.

Member Function Documentation

◆ command()

click_default_group.DefaultGroup.command (   self,
args,
**  kwargs 
)

Reimplemented from click.core.Group.

◆ format_commands()

click_default_group.DefaultGroup.format_commands (   self,
  ctx,
  formatter 
)
Extra format methods for multi methods that adds all the commands
after the options.

Reimplemented from click.core.Group.

◆ get_command()

click_default_group.DefaultGroup.get_command (   self,
  ctx,
  cmd_name 
)
Given a context and a command name, this returns a :class:`Command`
object if it exists or returns ``None``.

Reimplemented from click.core.Group.

◆ parse_args()

click_default_group.DefaultGroup.parse_args (   self,
  ctx,
  args 
)

Reimplemented from click.core.Group.

◆ resolve_command()

click_default_group.DefaultGroup.resolve_command (   self,
  ctx,
  args 
)

Reimplemented from click.core.Group.

◆ set_default_command()

click_default_group.DefaultGroup.set_default_command (   self,
  command 
)
Sets a command function as the default command.

The documentation for this class was generated from the following file: