random_folder 1.0.4

  • Readme
  • Changelog
  • Installing
  • 48

Random Folder - A Dart random folder generator #

Randomly Named Directories #

Often it is difficult to come up with a name for a project. Random Folder generates a directory with a random name to help you get started building faster with a simple mkrdir.

Installation #

If you want to use Random Folder on the command line, install it using pub global activate:

> pub global activate random_folder

To update Random Folder, use the same pub global activate command.

Usage #

Random Folder generates an empty directory with a random name. For example, here's how you create a package with Random Folder:

$ mkrdir

Generates directory named randomname000000

Options #

$ mkrdir -c # Camel Case Folder Name
$ mkrdir -s # Snake Case Folder Name

1.0.4 #

  • Remove unnecessary emoji library.

1.0.3 #

  • Add the emoji flag and generate cowboy happy face directory

1.0.2 #

  • Minor refactoring of number generator

1.0.1 #

  • Fix minor publishing issues

1.0.0 #

  • Initial version

Use this package as an executable

1. Install it

You can install the package from the command line:


$ pub global activate random_folder

2. Use it

The package has the following executables:


$ mkrdir

Use this package as a library

1. Depend on it

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


dependencies:
  random_folder: ^1.0.4

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

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

3. Import it

Now in your Dart code, you can use:


import 'package:random_folder/random_folder.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
99
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
90
Overall:
Weighted score of the above. [more]
48
Learn more about scoring.

We analyzed this package on Oct 11, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.5.1
  • pana: 0.12.21

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:random_folder/random_folder.dart.

Health issues and suggestions

Document public APIs. (-1 points)

16 out of 16 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.

Maintenance suggestions

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and random_folder.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.4.0 <3.0.0
args ^1.5.2 1.5.2
english_words ^3.1.5 3.1.5
Transitive dependencies
charcode 1.1.2
meta 1.1.7
path 1.6.4
source_span 1.5.5
string_scanner 1.0.5
term_glyph 1.1.0
Dev dependencies
pedantic ^1.7.0
test ^1.5.0