Skip to content

Commit

Permalink
Merge branch 'master' into pretty-debug
Browse files Browse the repository at this point in the history
  • Loading branch information
binduwavell committed Oct 29, 2018
2 parents 04056c8 + 84a50ed commit 083d67a
Show file tree
Hide file tree
Showing 5 changed files with 471 additions and 194 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,6 @@ typings/
.serverless


.idea
.idea
bin
dist
28 changes: 26 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,18 @@ Interact with the Alfresco repository with an interactive command line.
- Clone the repository
- Install using `npm install -g && npm link`

== Features
- Performs Alfresco operations from the terminal.
- Autocompletes node names for valid operations.
- Performs glob pattern matching for filename related operations.
- Maintains a session with a valid token, automatically persists within terminal sessions.
- Maintains a local command history


== Usage
- Call `alfresco-cli` from your terminal.


=== Logging in

Type `login --help` to read the help on logging in to the system and fetch an authentication token for the CLI.
Expand Down Expand Up @@ -74,14 +83,29 @@ None

== Version History

* 1.3 - 20181028
- *Major:* Improved `login` command.
- Added auto completion for site names when using `change site` command.

* 1.2.3 - 20181026
- Added search results auto completion in the results history.
- Added `alias set|clear` commands for adding aliases for search queries.
- Added glob pattern matching for `list` and `delete` commands.

* 1.2.2 - 20181026
- Added better `delete` function with confirmation prompt.
- Added `undo delete` to restore last deleted node.

* 1.2.1 - 20181025
- Added `list versions` command.
* 1.2 - 20181025
- [MAJOR] Adding folder name auto completion
- *Major:* Adding folder name auto completion
- Added `delete` command with support for deleting child nodes.

* 1.1 - 20181024
- Converted the code to Typescript
- Added support for node name as an alias for nodeId when referred from a valid context.
- Added `create user`, `create site`, `cd-site` commands.
- Added `create user`, `create site`, `cd-site`, `search` commands.
- Added support for `.` and `..` aliases.

* 1.0 - 20181023
Expand Down
40 changes: 38 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,18 @@

- Install using `npm install -g && npm link`

## Features

- Performs Alfresco operations from the terminal.

- Autocompletes node names for valid operations.

- Performs glob pattern matching for filename related operations.

- Maintains a session with a valid token, automatically persists within terminal sessions.

- Maintains a local command history

## Usage

- Call `alfresco-cli` from your terminal.
Expand Down Expand Up @@ -88,9 +100,33 @@ None

## Version History

- 1.3 - 20181028

- **Major:** Improved `login` command.

- Added auto completion for site names when using `change site` command.

- 1.2.3 - 20181026

- Added search results auto completion in the results history.

- Added `alias set|clear` commands for adding aliases for search queries.

- Added glob pattern matching for `list` and `delete` commands.

- 1.2.2 - 20181026

- Added better `delete` function with confirmation prompt.

- Added `undo delete` to restore last deleted node.

- 1.2.1 - 20181025

- Added `list versions` command.

- 1.2 - 20181025

- \[MAJOR\] Adding folder name auto completion
- **Major:** Adding folder name auto completion

- Added `delete` command with support for deleting child nodes.

Expand All @@ -100,7 +136,7 @@ None

- Added support for node name as an alias for nodeId when referred from a valid context.

- Added `create user`, `create site`, `cd-site` commands.
- Added `create user`, `create site`, `cd-site`, `search` commands.

- Added support for `.` and `..` aliases.

Expand Down
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
{
"name": "alfresco-cli",
"version": "1.2.0",
"version": "1.3.1",
"description": "Alfresco CLI - Command line interface for Alfresco",
"main": "src/index.js",
"bin": "dist/bundle.js",
"scripts": {
"build": "webpack",
"start": "npm run build && node dist/bundle.js",
"test": "echo \"Error: no test specified\" && exit 1",
"prepublishOnly": "npm run build && sh md-gen.sh"
"prepublishOnly": "npm run build && sh md-gen.sh",
"version": "npm run build && git add -A",
"postversion": "git push && git push --tags",
"commit": "git add -A && git commit -m 'post-publish-automatic' && npm run postversion",
"postpublish": "npm run commit"
},
"author": "Bhagya Nirmaan Silva",
"license": "MIT",
Expand All @@ -23,6 +27,7 @@
"flat": "^4.1.0",
"fs": "0.0.1-security",
"inquirer": "^6.2.0",
"minimatch": "^3.0.4",
"prettyjson": "^1.2.1",
"shelljs": "^0.8.2",
"source-map-loader": "^0.2.4",
Expand Down
Loading

0 comments on commit 083d67a

Please sign in to comment.