1.3.2 • Published 12 months ago

smochie v1.3.2

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

npm

Smochie, a multi-dependency project manager able to manage multiple GitHub repositories that make up the application. With Smochie, you can easily clone existing projects and their dependencies, execute commands in multiple folders under a root directory, and workspaces, and manage your projects with ease.

This tool is designed for developers who want to streamline their workflow. Smochie CLI saves time and effort compared to manually cloning each repository. This allows you to focus on writing code and delivering features for the application.

Whether you're a solo developer or part of a team, Smochie CLI makes it easy to manage your projects and stay organized. Get started with Smochie today and take your project management to the next level!

Compatibility

OSCompatible
windows:heavy_check_mark:
linux:heavy_check_mark:
mac:x:

Installation

To use Smochie, you'll first need to install the Smochie CLI tool. You can do this using npm, the Node.js package manager.

Prerequisites

Before you can install Smochie, you'll need to have Node.js and npm installed on your system. You can download and install the latest version of Node.js from the official Node.js website: https://nodejs.org/

Installation Steps

Once you have Node.js and npm installed, you can install Smochie using the following command:

npm install -g smochie

This will install the Smochie CLI tool globally on your system. You can then run Smochie commands from any directory in your terminal.

Verification

To verify that Smochie has been installed correctly, you can run the following command:

smochie --version

This should display the current version of Smochie installed on your system. If you see an error message or the version number is not displayed, try running the installation command again.

Congratulations! You've successfully installed Smochie and are ready to start using it to manage your Smochie projects.

Usage

Smochie is a command-line tool that provides several workflows for managing Smochie projects. To use Smochie, you'll need to open a terminal or command prompt and navigate to the directory where you want to create or manage a Smochie project.

Command Syntax

The basic syntax for running a Smochie command is as follows:

smochie <command> [options]

Here, <command> is the name of the Smochie command you want to run, and [options] are any additional options or arguments that the command requires. For example, to clone a Smochie project, you would run the following command:

smochie clone

This would clone the default Smochie project repository into the current directory. You can also specify additional options to customize the clone operation, such as the output directory:

smochie clone --path /path/to/clone/directory

Available Commands

Smochie provides several commands for managing Smochie projects. The currently available commands are:

  • clone: Clones the default Smochie project repository into the current directory, or a specified output directory.
  • create project: Creates a new Smochie project in the current directory or a specified output directory.
  • create workspace: Creates a new Smochie workspace in the current directory or a specified output directory.

To get more information, you can use the --help or -h flag. For example:

smochie --help
smochie -h

This will display the help text for smochie, including a list of available options and their descriptions.

Project Structure

Project directory should look like this:

/project
  /ui
  /api
  /core
  /services
  /implementations

This project directory structure organizes the codebase into different directories based on their functionalities.

This directory structure allows for a modular and scalable codebase, where different functionalities can be developed and maintained separately. It also helps with code reusability and code maintainability, as each directory can have its own set of tests, documentation, and version control.

Usage

Usage: smochie [options] <command>

Options:
  -h, --help          display this usage guide

Commands:
  clone               Clone a project from Smochie
  create project      Create a new project on Smochie
  create workspace    Create a new workspace on Smochie
  slave               Run a command on specified subfolders in the current directory

Options for 'clone' command:
  -p, --path <path>   set the output directory path (default: current working directory)

Options for 'slave' command:
  -s, --select        select subfolders to run the command on (default: all subfolders in the current directory)
  -o, --omit          omit subfolders from running the command
                      (default: no subfolders omitted; takes precedence over --select)

Examples:
  smochie clone
  smochie clone -p ~/projects/my-project
  smochie create project
  smochie slave npm test -s
  smochie slave npm test -o node_modules -o dist
1.3.2

12 months ago

1.3.1

12 months ago

1.3.0

12 months ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago