
Security News
PyPI Expands Trusted Publishing to GitLab Self-Managed as Adoption Passes 25 Percent
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads
@elasticprojects/abstract-cli
Advanced tools
`abstract-cli` provides a set of commands for working with local and remote Abstract data.
abstract-cli provides a set of commands for working with local and remote Abstract data.
The primary purpose of abstract-cli is to serve as local backend
for the desktop app.
The desktop app ships
with an abstract-cli binary and spawns
it as necessary to run commands.
Most commands provide access to git data in the local Abstract repos and are simple wrappers around functionality supplied by the gab library.
Currently the only supported output format is json.
The compiled abstract-cli binary is distributed (privately) via
npm. This allows simple, versioned integration into the desktop project.
A small shim is included to provide easy access to the binary.
Example usage:
import abstractCLI from "@elasticprojects/abstract-cli";
Promise.resolve(
spawn(abstractCLI, "project init 123", {
capture: ["stdout", "stderr"]
})
)
.then(output => JSON.parse(output.stdout))
.catch(output => console.error(output.stderrr));
Run tests:
$ yarn test
Compile a binary:
$ yarn run build
Once a binary has been built, it can be useful to link it into the desktop project for testing. To do so, first run:
$ yarn link
Then in the desktop project, run:
$ yarn link "@elasticprojects/abstract-cli"
To publish a new version, update the version field in
package.json with the desired version and commit the change.
CI will automatically publish the release to npm when the commit is merged to master.
The version can be easily updated with:
$ ./script/version (major|minor|patch)
which will run npm version with whatever argument you pass in and commit
package.json.
FAQs
`abstract-cli` provides a set of commands for working with local and remote Abstract data.
The npm package @elasticprojects/abstract-cli receives a total of 2,737 weekly downloads. As such, @elasticprojects/abstract-cli popularity was classified as popular.
We found that @elasticprojects/abstract-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.