Interface CliContext

    • Method Detail

      • getCommandNameOrAliasUsed

        @Nullable
        String getCommandNameOrAliasUsed()
        Command name or alias used to invoke the command, or null if this was invoked using the fully qualified class name.
      • getArguments

        String[] getArguments()
        Obtain the command line arguments for the command.
      • getEnvironment

        Map<String,​String> getEnvironment()
        Obtain the environment variables for the command.