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.
@becode/cli
Advanced tools
⚙️ CLI Utils at BeCode. Useful for everyone.
BeCode CLI is a command-line based util, with useful tools to automate some of your dev tasks at BeCode.
Junior or Coach, introducing BeCode CLI: a small util tool, giving you some great commands without leaving your terminal.
For now, this tool allows you to navigate to our different GitHub repositories, generate complete docker dev environments or generate README.md
files according to BeCode standards.
But remember: BeCode CLI is yours. Feel free to contribute, add new features or requests new ones.
The BeCode CLI can generate a docker-compose.yml
file to handle the dev env for your project.
Simply run becode generate env
from inside a git repository and answer the questions.
You can either install predefined application environment (like Wordpress, Drupal, Ghost…), or build a custom environment, by choosing your main language, your database and tools.
The BeCode CLI will generate two files: a complete, ready-to-use docker-compose.yml
file ; and a docker-readme.md
file, containing all the information about docker (how to install and configure), and the containers of your app.
README.md
template filesThe BeCode CLI can generate a README.md
respecting our internal guidelines.
Simply run becode generate readme
from inside a git repository and answer the questions.
You must have node.js installed on your machine.
Simply run the following command to install the BeCode CLI:
npm install -g @becode/cli
The command use this syntax:
becode [command] [args...]
If you need help, use the help
command:
becode --help
npx
While the command can be a bit longer, it's better to use npx
instead of installing packages globally.
To do so, instead of using becode
command, use npx @becode/cli
:
npx @becode/cli [command] [args...]
becode configure
Ask you some questions to setup the cli tool.
Should be run once, possibly right after installing the cli tool.
becode open [target] [...options]
Open the selected target in your default browser.
central
: open the Central repositorywatch
: open the Watch repositorypromo
: open the repository of your promo - you must have run the command configure
once beforegithub
: open your GitHub profile (or, if you haven't configured your tool, the GitHub homepage)my
or mybecode
: open the MyBeCode platform-c
--choose
: Choose promo in a list instead of using the configured onebecode generate [target] [...options]
Use interactive process to generate useful files for your projects.
readme
: generate a README.md
file that conforms with the BeCode's conventionsignore
: generate a common .gitignore
fileenv
: generate a docker compose env, after some questions-o <path>
, --output <path>
: Generate target files at specified path (defaults to current git repo root) - not supported for the ignore
targetFeel free to hack the tool, suggest any modification and/or implement it by yourself and submit a pull request !
The contribution guide is in the CONTRIBUTING.md file.
You don't want (or can't) help, but you have some ideas to improve BeCode CLI?
Please, create an issue and tell us everything.
October 2018, leny@BeCode. Licensed under the MIT License.
FAQs
CLI Utils at BeCode. Useful for everyone at BeCode.
We found that @becode/cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.