Skip to content

Commit

Permalink
carnesen-cli-0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
carnesen committed Sep 12, 2022
1 parent d30f8b4 commit b32cbfc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions packages/cli/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Upcoming

## carnesen-cli-0.8.0 (2022-09-11)

This is a significant release with breaking changes. It refactors all the **@carnesen/cli** abstractions as TypeScript/ECMAScript `class`es. Earlier implementations of this library favored a pattern of factory functions producing a plain object. We adopt a new namespace/branding convention "CCli" for the new `class`es. Compared to the old namespace (just "Cli"), the extra "C" (for "carnesen"!) makes the exported symbols more distinctive and easily auto-imported in your IDE. For most use cases however you won't need to use the "CCli" symbols because this release provides a new convenient API for defining CLI's, the `c` namespace object. For example:

Old API:
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carnesen/cli",
"description": "A command-line interface framework for Node.js and web browser",
"version": "0.7.1",
"version": "0.8.0",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"engines": {
Expand Down

0 comments on commit b32cbfc

Please sign in to comment.