File tree Expand file tree Collapse file tree 3 files changed +0
-115
lines changed
Expand file tree Collapse file tree 3 files changed +0
-115
lines changed Original file line number Diff line number Diff line change @@ -309,29 +309,6 @@ pub enum Command {
309309 #[ clap( subcommand) ]
310310 Database ( DatabaseCommand ) ,
311311
312- /// Delete a deployment and all it's indexed data
313- ///
314- /// The deployment can be specified as either a subgraph name, an IPFS
315- /// hash `Qm..`, or the database namespace `sgdNNN`. Since the same IPFS
316- /// hash can be deployed in multiple shards, it is possible to specify
317- /// the shard by adding `:shard` to the IPFS hash.
318- Drop {
319- /// The deployment identifier
320- deployment : DeploymentSearch ,
321- /// Search only for current version
322- #[ clap( long, short) ]
323- current : bool ,
324- /// Search only for pending versions
325- #[ clap( long, short) ]
326- pending : bool ,
327- /// Search only for used (current and pending) versions
328- #[ clap( long, short) ]
329- used : bool ,
330- /// Skip confirmation prompt
331- #[ clap( long, short) ]
332- force : bool ,
333- } ,
334-
335312 /// Deploy a subgraph
336313 Deploy {
337314 name : DeploymentSearch ,
@@ -1699,29 +1676,6 @@ async fn main() -> anyhow::Result<()> {
16991676 }
17001677 }
17011678 }
1702- Drop {
1703- deployment,
1704- current,
1705- pending,
1706- used,
1707- force,
1708- } => {
1709- let sender = ctx. notification_sender ( ) ;
1710- let ( store, primary_pool) = ctx. store_and_primary ( ) ;
1711- let subgraph_store = store. subgraph_store ( ) ;
1712-
1713- commands:: drop:: run (
1714- primary_pool,
1715- subgraph_store,
1716- sender,
1717- deployment,
1718- current,
1719- pending,
1720- used,
1721- force,
1722- )
1723- . await
1724- }
17251679
17261680 Deploy {
17271681 deployment,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ pub mod create;
77pub mod database;
88pub mod deploy;
99pub mod deployment;
10- pub mod drop;
1110pub mod index;
1211pub mod listen;
1312pub mod provider_checks;
You can’t perform that action at this time.
0 commit comments