public function post_type( $args, $assoc_args ) {

		if ( strlen( $args[0] ) > 20 ) {
			WP_CLI::error( 'Post type slugs cannot exceed 20 characters in length.' );
		}

		$defaults = array(
			'textdomain' => '',
			'dashicon'   => 'admin-post',
		);

		$templates = array(
			'post_type.mustache',
			'post_type_extended.mustache',
		);

		$this->scaffold( $args[0], $assoc_args, $defaults, '/post-types/', $templates );
	}