Skip to content

Add

Name

gurli bookmark add - Add a new bookmark

Synopsis

gurli bookmark add [options] template_path

Description

Adds a new template bookmark to the list of known template, if there is not already a template with the given name.

Flags

  • --name string, -n string → The name of the new bookmark;
  • --format string, -f string → The format of the template;
  • --root string → The root template;
  • --embed-file → Embeds the template file in the bookmarks file (default: false);
  • --help, -h → Show help information

If a name, format or root template is not given, the command will query the user for it.

Files

  • $XDG_DATA_DIR/gurli/bookmarks.yml → File that contains the list of bookmarks, it may also have the extension json, toml or plist.

Exit Status

The gurli bookmark add command exits 0 on success, and >0 if an error occurs.