Command Line Interface Guidelines

Command Line Interface Guidelines is "an open-source guide to help you write better command-line programs, taking traditional UNIX principles and updating them for the modern day".

Even if you can't make use of the proposed guidelines at the moment, I recommend going over the Foreword and the Philosophy section as it contains some general ideas related to CLI and computer interaction.