Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/feomasto/priv/deps.ts>command.Command#getGlobalParent

Sync posts from Mastodon into FeoBlog
Latest
method command.Command.prototype.getGlobalParent
Re-export
import { command } from "https://deno.land/x/feomasto@v1.0.1/priv/deps.ts";
const { Command } = command;

Get parent command from global executed command. Be sure, to call this method only inside an action handler. Unless this or any child command was executed, this method returns always undefined.

Returns

Command<any> | undefined