-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from moderntribe/fix/ci-message-not-a-tty
Ensure exec does not run allocating a TTY
- Loading branch information
Showing
6 changed files
with
84 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
|
||
namespace Tribe\Test; | ||
|
||
if ( $is_help ) { | ||
echo "Activates or deactivates whether or not composer/npm build should apply to sub-directories.\n"; | ||
echo PHP_EOL; | ||
echo colorize( "signature: <light_cyan>{$cli_name} build-subdir (on|off|status)</light_cyan>\n" ); | ||
echo colorize( "example: <light_cyan>{$cli_name} build-subdir on</light_cyan>\n" ); | ||
echo colorize( "example: <light_cyan>{$cli_name} build-subdir off</light_cyan>\n" ); | ||
echo colorize( "example: <light_cyan>{$cli_name} build-subdir status</light_cyan>\n" ); | ||
return; | ||
} | ||
|
||
$subdir_args = args( [ 'toggle' ], $args( '...' ), 0 ); | ||
|
||
tric_handle_build_subdir( $subdir_args ); | ||
|
||
echo colorize( "\n\nToggle this setting by using: <light_cyan>tric build-subdir [on|off]</light_cyan>\n" ); | ||
echo colorize( "- on: composer/npm commands will apply to sub-directories.\n" ); | ||
echo colorize( "- off: composer/npm commands will NOT apply to sub-directories.\n" ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters