Skip to content

docs / hello

cwm hello

One-screen health check: version, OS, shell, history file, shell integration and database counts, followed by the cwm logo in half-block pixel art.

$ cwm hello

How it works

  • Run it first after install. It shows which parts of CWM are active and which still need a command.
  • Direct Execution means the shell wrapper from cwm setup is installed. Watch Hook means cwm watch start is installed.
  • The Database line reports the build that last wrote the file and how many rows you have.

Examples

Fresh install, nothing set up yet

cwm hello
$ cwm hello
CWM - Command Watch Manager (v2.0.0)
-----------------------------------------------------------------
OS:                  windows/amd64
Shell:               bash
History File:        C:\Users\you\.bash_history
Direct Execution:    Not installed (run 'cwm setup')
Watch Hook:          Not installed (run 'cwm watch start')
Database:            OK (written by v2.0.0): 0 saved, 0 history, 0 in trash
 
                    ▄▄▄▄
                  ▄█████
              ▄▄█████▀▀█▄▄
            ▄▀█████▀███████▄
          ▄█████▀▀███████████▄
        ▄█████▀███████████████▄
     ▄█████▀▀██████████████████
   ▄█████▀██████████████████████
   ▀█████▀██████████████████████
     ▀█████▀▀██████████████████
        ▀█████▀███████████████▀
          ▀▀█████▀███████████▀
            ▀▀█████▀▀██████▀
               ▀▀█████▀▀▀
                  ▀█████
                     ▀▀

After setup and watch start

cwm hello
$ cwm hello
CWM - Command Watch Manager (v2.0.0)
-----------------------------------------------------------------
OS:                  windows/amd64
Shell:               bash
History File:        C:/Users/you/.bash_history
Direct Execution:    Active (cwm get <name> -x runs in your current shell)
Watch Hook:          Active (commands are recorded)
Database:            OK (written by v2.0.0): 3 saved, 3 history, 0 in trash
 
                    ▄▄▄▄
                  ▄█████
              ▄▄█████▀▀█▄▄
            ▄▀█████▀███████▄
          ▄█████▀▀███████████▄
        ▄█████▀███████████████▄
     ▄█████▀▀██████████████████
   ▄█████▀██████████████████████
   ▀█████▀██████████████████████
     ▀█████▀▀██████████████████
        ▀█████▀███████████████▀
          ▀▀█████▀███████████▀
            ▀▀█████▀▀██████▀
               ▀▀█████▀▀▀
                  ▀█████
                     ▀▀