Database 'init' Sub-command

The database 'init' sub-command

  • The init command is a sub-command of the hkeydb command.
  • It initializes a database file newly created by the hkeydb new sub-command, and is the second step in setting up a new database.
  • In this step, the base server paths are added to the database file, based upon the current location.
  • init
    • Initializes the server location data for a new Hyperkey database file that was just created using the new sub-command. The server paths will be constructed based upon the current directory.
    • If the hkeydb command was invoked from the right-click menu in Windows, the 'current directory' will be set from the file or folder that was clicked upon.
    • The init sub-command applies the changes to the 'current' database file, which if run right after the new sub-command will be the new one just created.
Previous: Database 'new' Sub-command Next: Hyperkey Commands