Skip to content

Commit

Permalink
Added proposed specs
Browse files Browse the repository at this point in the history
  • Loading branch information
prashnts committed Sep 17, 2016
1 parent 392967f commit f7c6939
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
25 changes: 25 additions & 0 deletions API Specs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Hues Console

> Notes.
## API Considerations, Specs
Console API is borrowed from awesome Node.JS console api. [1]

```python
>>> from hues import console

>>> console.log
>>> console.error
>>> console.info
>>> console.warn
>>> console.assert
```

## Default color, theme settings
The default config is a JSON? YAML? file called .hues.[json/yml] in ~ or `cwd`.

## tqdm integration
We can ship with a tqdm wrapper.


[1]: https://nodejs.org/api/console.html
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,3 @@ All 16 glorious ANSI colors are available for both background and foreground. As
- [ ] Unicorns required.

> Back in my days, we didn't even have colors!

0 comments on commit f7c6939

Please sign in to comment.