Skip to content

Commit

Permalink
fix: Open in gitpod link
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoulloao committed Apr 9, 2022
1 parent 53a5379 commit 4acbb84
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 11 deletions.
20 changes: 12 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div>
<img align="left" src="https://bananasplit.js.org/assets/images/bananasplit-client.svg" width="130" />
<h1 align="center">bananasplit client for command line</h1>
<h1 align="center">bananasplit-client for command line</h1>
<p align="center">
<img src="https://img.shields.io/badge/npx-package-b9e2e2?style=for-the-badge&logo=npm" />
</p>
Expand All @@ -12,7 +12,7 @@

## Create a new project

### Express template:
### Express template
```bash
npx bananasplit-js new "project-name"
```
Expand All @@ -25,19 +25,23 @@ npx bananasplit-js new "project-name" --apollo|-a
## Arguments

### Git repository
**Additionally** you can pass the values `--git` or `-g` as argument to **automatically init a git repository.**
**Additionally** you can pass `--git` or `-g` values as argument to **automatically init a git repository

```bash
npx bananasplit-js new "project-name" --git|-g
npx bananasplit-js new "project-name" --git
```

### Version
### Get version
Use `--version` or `-v` in order to get the version

```bash
bananasplit-js --version|-v
npx bananasplit-js -v
```

# License
**Bananasplit client** is licensed under **`Apache-2.0`**. Read the **[LICENSE](https://github.com/bananasplit-js/bananasplit-client/blob/master/LICENSE)**
**Bananasplit-client** is licensed under **`Apache 2.0`**

**Read the [LICENSE](https://github.com/bananasplit-js/bananasplit-client/blob/master/LICENSE)**

---
**`>_ Bananasplit-js • 2020`**
![label](https://img.shields.io/badge/2022-bananasplit--js-yellow?style=for-the-badge)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bananasplit-js",
"version": "1.4.0",
"version": "1.4.1",
"description": "A bananasplit client for command line",
"main": "src/index.js",
"bin": {
Expand Down
4 changes: 2 additions & 2 deletions src/README-template.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ yarn dev | npm run dev

**Read more about configuration:** https://bananasplit.js.org/docs/#config

<a href="http://gitpod.io/#https://github.com/buskerone/nocv-backend/" target="_blank">
<a href="http://gitpod.io/#add-repository-url" target="_blank">
<img src="https://gitpod.io/button/open-in-gitpod.svg" alt="">
</a>

Expand All @@ -40,4 +40,4 @@ yarn dev | npm run dev
**Bananasplit-js** is licensed under **[MIT](https://github.com/bananasplit-js/bananasplit-js/blob/main/template/LICENSE)**

---
![label](https://img.shields.io/badge/2022-bananasplit--js-yellow?style=for-the-badge)
![label](https://img.shields.io/badge/@year-bananasplit--js-yellow?style=for-the-badge)
1 change: 1 addition & 0 deletions src/lib/create-project.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export default function ({ action, project_name, apollo=false, git }) {

// Replace project name
readmeTemplateData = readmeTemplateData.replace("@project-name", project_name)
readmeTemplateData = readmeTemplateData.replace("@year", new Date().getFullYear())

// Write changes into new README.md in project directory
fs.writeFileSync(
Expand Down

0 comments on commit 4acbb84

Please sign in to comment.