Class RandomUUIDCmd

All Implemented Interfaces:
Argument

public class RandomUUIDCmd extends Subcommand
A no-arg subcommand of DebugCmd which simply fetches a random UUID string representing a GObject that exists within the scene and copies it to the clipboard

Aliases: id, rand, random, r, uuid, u

Typical Usage:


     debug id     - Prints a UUID
     dbg r        - Prints a UUID
     debug uuid   - Prints a UUID
     You get the point.
     

Author:
Lehlogonolo Poole
See Also:
  • Constructor Details

    • RandomUUIDCmd

      public RandomUUIDCmd()
  • Method Details

    • run

      public void run(Invoker invoker, SafeJLabel logLabel, String aliasUsed, Object[] args, ArrayList<TaggedArgValue<?>> taggedArgs)
      Description copied from class: Command
      The method to be overridden by subclasses to implement command functionality.
      Overrides:
      run in class Command
      Parameters:
      invoker - The invoker of this command
      logLabel - The JLabel to display log messages.
      aliasUsed - The alias of the command that was used to invoke it.
      args - The arguments passed to the command.
      taggedArgs - Tagged arguments passed to the command.