First cut of user CLI API 

Done
On Dec 4, 2014, at 11:52 PM, Thomas A Caswell <notifications@github.com<mailto:notifications@github.com>> wrote:


In ophyd/userapi/cli_api.py:

> +#def _print_green(text):
> +#  print("\033[0;32m{}\033[0m".format(text), end = '')
> +#
> +#def _print_red(text):
> +#  print("\033[0;31m{}\033[0m".format(text), end = '')
> +
> +def _print_string(val):
> +  print('{:{fmt}} '.format(val, fmt = STRING_FMT), end = '')
> +
> +def _print_value(val):
> +  if val is not None:
> +    print('{:{fmt}} '.format(val, fmt = VALUE_FMT), end = '')
> +  else:
> +    _print_string('')
> +
> +def _blink(on = True):


no spaces for default arguments please

—
Reply to this email directly or view it on GitHub<https://github.com/NSLS-II/ophyd/pull/23/files#r21355459>.