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

x/actionify/src/deps/cli.ts>Command#getGlobalParent

Create and manage your GitHub workflows with TypeScript and Deno.
Latest
method Command.prototype.getGlobalParent
Re-export
import { Command } from "https://deno.land/x/actionify@0.3.0/src/deps/cli.ts";

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