Clio develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
app::MigrateSubCmd Struct Reference

The command to run for migration framework. More...

#include <MigrationApplication.hpp>

Classes

struct  Migration
 Run a migration. More...
 
struct  Status
 Check the status of the migrations. More...
 

Static Public Member Functions

static MigrateSubCmd status ()
 Helper function to create a status command.
 
static MigrateSubCmd migration (std::string const &name)
 Helper function to create a migration command.
 

Public Attributes

std::variant< Status, Migrationstate
 

Detailed Description

The command to run for migration framework.

Member Function Documentation

◆ migration()

static MigrateSubCmd app::MigrateSubCmd::migration ( std::string const & name)
inlinestatic

Helper function to create a migration command.

Parameters
nameThe name of the migration to run
Returns
Cmd object containing the migration command

◆ status()

static MigrateSubCmd app::MigrateSubCmd::status ( )
inlinestatic

Helper function to create a status command.

Returns
Cmd object containing the status command

The documentation for this struct was generated from the following file: