npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

alfresco-cli

v1.4.0

Published

Alfresco CLI - Command line interface for Alfresco

Downloads

38

Readme

Alfresco CLI - Command line interface for Alfresco

Interact with the Alfresco repository with an interactive command line.

Target Audience

  • Alfresco Developers and Architects

Installation

From NPM

  • Run npm install -g alfresco-cli

Available at https://www.npmjs.com/package/alfresco-cli

From GitHub

  • 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.

Changing into a node

Use cd <nodeId>, where nodeId is the node ID of the nodeRef you want to change to.

Listing contents (chldren) within a node

Use ls or ls <nodeId> to list contents within a node.

Uploading files

Use upload <filePath> [destinationNodeId] to upload new files to Alfresco.

Search for contents

Use search <query> [language] to search for contents.

Commands and Operations

  • Login

  • Logout

  • List files

  • List sites

  • Upload files

  • Download files [TBD]

  • View Metadata

Aliases Reference

You can use the following aliases within commands.

  • . - current folder/content

  • .. - parent folder/content

License

MIT License

Author

Development Sponsors

Privacy Policy

There are no analytics gathered upon the use of the tool. However, the author reserves the right to add analytics on a later release to improve features provided by the tool.

Contributors

Version History

  • 1.4 - 20181106

    • Major Added glob expansion support for mkdir

    • Improved glob matching

    • Improved error handling

  • 1.3.5 - 20181031

    • Improved delete command (delete)
  • 1.3.4 - 20181029

    • Added cls for clearing screen (@binduwavell)

    • Added -p --pretty for pretty printing debug output (@binduwavell)

  • 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

    • 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, search commands.

    • Added support for . and .. aliases.

  • 1.0 - 20181023

    • Initial release