startr 0.2.3

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 0

startr

About

Clones template snippets into project. Insert <variable> anywhere into your template and startr will find and prompt you for replacements. It warns you if there are any existing files that match the current directory path.

startr

Install

Install dartlang, then:

$ pub global activate startr

Example

See console-simple.dart for an example template repository (Copied courtesy of: https://github.com/google/stagehand)

$ startr clone git git@github.com:damondouglas/console-simple.dart.git

see list of community startrs here: https://github.com/damondouglas/startr.dart/wiki

Usage

Clones template snippets into project.

Usage: startr <command> [arguments]

Global options:
-h, --help    Print this usage information.

Available commands:
  clone   Clones template into project.
  help    Display help information for startr.

Run "startr help <command>" for more information about a command.

Commands

clone

Usage: startr clone <subcommand> [arguments]
-h, --help    Print this usage information.

Available subcommands:
  git    Clones template from git repository.
  path   Clones template from local directory path.

Run "startr help" to see global options.

path

startr clone path <directory>

Clones template from local directory path.

Usage: startr clone path <directory>
-h, --help    Print this usage information.

Run "startr help" to see global options.

git

startr clone git <uri>

Clones template from git repository.

Usage: startr clone git <uri>
-h, --help    Print this usage information.

Run "startr help" to see global options.

0.2.3

  • Fix that .git was not ignored.

0.2.2

  • Fix .startrignore to be ignored.

0.2.1

  • Add .startrignore functionality to specify paths to ignore.

0.0.1

  • First implementation.
  • path, git subcommands of clone command

Use this package as an executable

1. Install it

You can install the package from the command line:


$ pub global activate startr

2. Use it

The package has the following executables:


$ startr

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  startr: ^0.2.3

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:startr/startr.dart';
  
Version Uploaded Documentation Archive
0.2.3 Feb 8, 2017 Go to the documentation of startr 0.2.3 Download startr 0.2.3 archive
0.2.2 Feb 8, 2017 Go to the documentation of startr 0.2.2 Download startr 0.2.2 archive
0.2.0 Feb 7, 2017 Go to the documentation of startr 0.2.0 Download startr 0.2.0 archive
0.1.1 Apr 30, 2016 Go to the documentation of startr 0.1.1 Download startr 0.1.1 archive
0.1.0 Apr 28, 2016 Go to the documentation of startr 0.1.0 Download startr 0.1.0 archive
0.0.2 Apr 21, 2016 Go to the documentation of startr 0.0.2 Download startr 0.0.2 archive
0.0.1 Apr 21, 2016 Go to the documentation of startr 0.0.1 Download startr 0.0.1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
0
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
0
Overall:
Weighted score of the above. [more]
0
Learn more about scoring.

The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.

Analysis issues and suggestions

Support Dart 2 in pubspec.yaml.

The SDK constraint in pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see https://www.dartlang.org/dart-2#migration.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.0.0 <2.0.0