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:

  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';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Mar 26, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.6

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.


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