The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

racknotes - A command line interface to Rackspace Email Notes.

SYNOPSIS

  Usage: racknotes command [arguments]
  
  Available Commands:
      add         add a new note, content is read from stdin
      append      append the content of stdin to the note
      delete      delete the note
      help        show syntax and available commands
      list        lists id and subject of all notes
      replace     replace the contents of the note
      show        show the contents of the note

  # List all of your notes.
  $ racknotes list

  # Delete note number 3.
  $ racknotes delete --num=3

  # Same thing.
  $ racknotes delete -n 3

  # Some commands expect to read text from stdin. You can type some text
  # and then hit <ctrl-d> when you are done.
  $ racknotes add --subject=foo
  some text
  <ctrl-d>

  # Or you could use piping or redirection.
  $ echo allo | racknotes add -s 'adding note contents via piping'
  $ racknotes add -s 'adding note contents via redirection' < some_file.txt

COMMANDS

-h|--help

Print a brief help message.

add -s|--subject=SUBJECT

Add a new note with the given subject. The contents of the note will be read from stdin.

append -n|--num=NUM

Append the content of stdin to the note.

delete -n|--num=NUM

Delete the note.

list

List all the notes. Each note is numbered so that other commands can refer to them via --num.

replace -n|--num=NUM

Replace the contents of the note. The new content is read from stdin.

show -n|--num=NUM

Show the contents of the note.

DESCRIPTION

This program is a command line tool to interface with Rackspace Email Notes.