Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jun 8, 2023. It is now read-only.

ward-framework/ward-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

11 Commits

Repository files navigation


WARD-CLI

A CLI tool for Ward

Report Bug * Request Feature




Table of Contents

  • About
  • Getting Started
    • Prerequisites
    • Installation
  • Usage
  • Contributing
  • License
  • Contact

About

A CLI tool to create and serve Ward projects.

Getting Started

Prerequisites

Installation

# npm
npm install [-g] ward-cli

# Yarn
yarn [global] add ward-cli

Usage

new [directory]

The new command will create a project in the directory called (or create a new directory if it does not exist).

You can also specify a [directory] to specify where to create this project.

#Exemple:
ward new MyWardProject Projects # Creates a project called "MyWardProject" in the "Projects" directory.

serve [directory]

  • -P, --port : Wish port to listen to. (Default: 8000)
  • -I, --ip : Wish IP address to serve to. (Default: "127.0.0.1")

The serve command will serve the files of a specified [directory] (if not specified will serve the current working directory).

#Exemple:
ward serve --port 3000 # Serves the current working directory to the port 3000.

Contributing

This project is developed by a somewhat beginner javascript developer, help is always welcome. Do not hesitate to contribute to the project.

  1. Fork the Project
  2. Create your Feature or Fix Branch (git checkout -b feature/Feature or git checkout -b fix/Fix)
  3. Commit your Changes (git commit -m 'Add some feature or fix')
  4. Push to the Branch (git push origin feature/Feature or git push origin fix/Fix)
  5. Open a Pull Request

License

ward-cli is distributed under the MIT License. See LICENSE for more information.

Contact

Colin Espinas - Website - contact@colinespinas.com

Project link: https://github.com/ColinEspinas/ward-cli

Acknowledgements

About

A CLI tool for Ward

Resources

Readme

License

MIT license

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors