Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@sassoftware/afcli
Advanced tools
This utility generates TypeScript interfaces and client-side code from server-side App Factory Applications (so you don't have to).
afcli
is a full node JS commandline for interacting with App Factory Cloud apps, functions, and schemas.
It supports two primary commands:
create
for creating a create-react-app template for a new React UI that integrates with App Factory cloud API.sync
for generating TypeScript definitions and full interactable hooks for fetching, creating, and using functions and schemas.Read more about the CLI in our official documentation
create
command in a directory where you want a new Create SAS App projectnpx @sassoftware/afcli@latest create
CSA Sync Command
Example:
npx @sassoftware/afcli@latest sync --instance=https://appfactory-<YOUR TEAM>.engage.sas.com --app-id=58 --app-revision=2
Paste it in terminal and follow the procedure and provide user ID and password for SAS server
Files will be created in folder afcGenerated
, by default.
Run command without parameters and start the interactive mode
Example:
npx @sassoftware/afcli@latest sync
You can setup a local version of the CLI using this repo that updates as code changes are made:
# in the current directory
npm link
Once the link is established, the CLI can be run directly:
afcli --help
To remove the link, you can simply remove it:
On linux: (You may need superuser permission)
rm $(which afcli)
On windows:
# in the repo
npm unlink
This project is currently intended for use by participants in the SAS Hackathon. During this event, the repository will refrain from accepting external contributions. However, we have plans to open source the project in the near future, at which point we will welcome contributions from the community.
Please note that after the SAS Hackathon concludes, this notice will be removed, and we will provide updated guidelines for contributing to the project once it becomes open source. We appreciate your understanding and look forward to collaborating with you in the future.
FAQs
This utility generates TypeScript interfaces and client-side code from server-side App Factory Applications (so you don't have to).
The npm package @sassoftware/afcli receives a total of 0 weekly downloads. As such, @sassoftware/afcli popularity was classified as not popular.
We found that @sassoftware/afcli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 14 open source maintainers 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.