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

livecl

v0.0.13

Published

Live update

Downloads

11

Readme

Livecl ( command line)

This is a command line tool to use live update rest API.

Configure

To configure your API credentials, enter the following code into the terminal:

$ livecl configure

Specify your API key

? Insert you api key

Next, livecl ask you the API URL. If you use rapidapi as gateway just type enter to accept the default settings, otherwise change the default value.

? Insert you api url › https://liveupdate1.p.rapidapi.com

If it's everything OK you should see:

Welcome <username>

If you are impatient with using liveupdate, scroll down and jump to the ionic section.

Application

Listing applications.

$ livecl application ls

Create an application

$ livecl application add <applicatioName>

Delete an application

##Add -y to skip the request confirmation
$ livecl application rm -a <applicationId>

To change the application name

##Add -y to skip the request confirmation if same name already exists
$ livecl application update -a <applicationId> -n <applicatioName>

To search the applications using a partial text:

$ livecl application search <text>

Channel

Listing the channels of an application

$ channel ls -a <applicationId>

Create a channel of the application

$ livecl channel add -a <applicationId> <channelName>

Delete a channel

##Add -y to skip the request confirmation
$ channel rm -a <applicationId> -c <channelId>

Update a channel name

##Add -y to skip the request confirmation if same name already exists
$ livecl channel update -a <applicationId> -c <channelId> -n <channelName>

To search the channels using a partial text:

$ livecl channel search -a <applicationId> <text>

To get helpful command line for ionic deploy plugin

$ livecl channel info -a <applicationId> -c <channelId>

Build

For listing the builds of a specific application and channel.

$ livecl build ls -a <applicationId> -c <channelId>

To create and activate a build of a specific application and channel, go to the root of ionic project and execute the statement

## To skip the activation add --not-active ( -n )
## To remove the last active build add --replace-active ( -n )

$ livecl build add -a <applicationName> -c <channelName> <buildName> 

To deelete a build

##Add -y to skip the request confirmation
$ livecl build rm -a <applicationId> -c  <channelId> -b <buildId>

To update a build name

##Add -y to skip the request confirmation if same name already exists
$ livecl build update -a <applicationId> -c <channelId> -b <buildId> -n <buildName>

To search the builds using a partial text:

$ livecl build search -a <applicationId> -c <channelId> <text>

To activate a build

$ livecl build setactive -a <applicationId> -c <channelId> -b <buildId>

ionic

To configure a ionic project, go to the root directory and enter the following command:

$ livecl ionic configure -a <applicationId> -c <channelId>

The files package.json and config.xml now are configured to work with liveupdate. Now deploy the app (a clean build is strongly recommended) to your device. After, open and apply some visible changes to a page of your ionic app. Open a terminal and execute this command that compiles ad push a new update to the server:

$ npm run-script live-deploy

Restart the app and check if the update works correctly.

To create a new build enter the following code. It works like livecl add build command but it reads applicationId and channelId from the package.json.

$ livecl ionic deploy

Updated documentation is also avaiable on https://liveupdate.magicdev.org