Aptivi - Manual
ProjectsWebsiteBlog
Terminaux - Manual
Terminaux - Manual
  • Welcome!
  • Breaking changes
    • API v1.0
    • API v2.0
    • API v3.0
    • API v4.0
    • API v5.0
    • API v6.0
    • API v7.0
  • Usage
    • Preface
    • Console Tools
      • Console Checker
        • Console Size Requirements
      • Image Rendering
        • Icons
      • Console Writers
        • Individual Writers
        • Cyclic Writers
          • Geometric Shapes
          • Charts
          • Text
          • Artistic
          • Progress Bars
          • Lists and Calendars
          • Miscellaneous
        • Informational Boxes
      • Textual UI
        • Interactive TUI
        • Console Screen
        • Console Resize Listener
        • VT Sequences
      • Console Wrapper
      • Console Colors
      • Color Templates
      • Presentation System
      • Console Extensions
      • Nerd Fonts
      • Terminal Info
      • Test Fixtures
      • Terminal Structures
      • Console Logging
    • Input Reader
      • Shells
        • Shell Structure
          • Help System
          • Command Parsing
          • Command Information
          • Command Switches
          • Shell Presets
          • Command Aliasing
      • Other Input
        • Keybindings
        • Choice-based inputs
        • Editors and Viewers
        • Figlet Font Selector
        • Color Wheel
        • Spinner Selector
      • Reader State
      • Reader Settings
      • Syntax Highlighting
      • Pointer Events
    • Color Sequences
      • Color Model Conversions
      • Color Model Parsing
      • Interop with System.Drawing.Color
  • Report an issue
  • Source code
  • API Reference
Powered by GitBook
On this page
Edit on GitHub
  1. Usage
  2. Input Reader
  3. Shells
  4. Shell Structure

Command Aliasing

Make your command aliases!

The MESH shell provides you with facility to make aliasing long commands easier than before. The alias management class, AliasManager, allows you to manage the shell aliases, like adding aliases, editing them, removing them, and so on.

Currently, the below functions are available for you to use:

  • AddAlias(): Adds an alias to the list of aliases.

  • RemoveAlias(): Removes an alias from the list of aliases.

  • DoesAliasExist(): Checks to see if a particular alias exists.

  • GetAliasesListFromType(): Gets a list of aliases from a shell type, excluding the built-in ones.

  • GetEntireAliasListFromType(): Gets a list of aliases from a shell type, including the built-in ones.

  • GetAlias(): Gets information about a specific alias.

Last updated 5 months ago