anchor.diff:  #!/usr/bin/env dart
  -
  -// TODO: Use the logger package.
  -// TODO: Rename to flare-cli?
   
   import 'dart:io';
   
   import 'package:intl/intl.dart';
  -import 'package:args/args.dart';
  +import 'package:args/command_runner.dart';
   import 'package:uuid/uuid_server.dart';
   
  -final DateFormat DATE_FORMAT = new DateFormat('yyyy/MM/dd');
  +final DateFormat dateFormat = new DateFormat('yyyy/MM/dd');
  +
  +/// A [Command] that generates a persistent id for a post. 
  +class GeneratePostIdCommand extends Command {
  +  @override
  +  String get name => 'generate-post-id';
  +  
  +  @override
  +  String get description => "Generates a unique id for a new post";
  +  
  +  @override
  +  void run() {
  +    print(generateNewPostId());
  +  }
  +}
  +
  +/// A [Command] that creates a new (scaffold) post.
  +class NewPostCommand extends Command {
  +  @override
  +  String get name => 'new-post';
  +
  +  @override
  +  String get description => "Create a scaffold for a new post";
  +  
  +  NewPostCommand() {
  +    argParser.addOption('date', abbr: 'd', help: "The creation date of the post");
  +  }
  +  
  +  @override
  +  void run() {
  +    var date;
  +    if (argResults['date'] != null) {
  +      date = argResults['date'];
  +    } else {
  +      date = dateFormat.format(new DateTime.now());
  +    }
  +    createNewPost(argResults.rest.first, date: date);
  +  }
  +}
   
   /// # Examples
   ///
  
positive.code: }
  
  /// Creates subdirectories and the file for a new post.
  void createNewPost(String title, {DateTime date}) {
    final dirname = 'web/posts/${date}';
    final filename = '${_slugify(title)}.md';
  
  
negative.code: /// $ flare new-post "This is my new post"
  /// $ flare new-post --date=2014/08/02 "This is another post"
  void main(List<String> args) {
    final runner = new CommandRunner('flare', "CLI for flare")
        ..addCommand(new GeneratePostIdCommand())
        ..addCommand(new NewPostCommand())
        ..run(args);  
  }
  
  /// Generates a persistent id for a post. This id uniquely identifies the post
  