BK-PROMPT(1)
πΈ NAME πΈ
okay bestie, this is bk prompt from the BitKeeper Userβs Manual, manual name (none), page label bk prompt(none) π β and it does exactly what it says on the tin: prompt a user with a message β¨
π SYNOPSIS π
bk prompt [opts] [message]
π DESCRIPTION π
bk prompt is the little icon that prompts a user with a message, gets a positive or negative response, and then exits accordingly. fr fr, thatβs the whole job π«Ά
This interface may be used for either command line or graphical environments. no cap.
If the environment variable BK_GUI is set, then the graphical version will be used instead of the command line version. All of the BitKeeper GUI tools set this variable automatically such that any call to bk prompt from inside the graphical tools will result in a graphical prompt, including the execution of any user supplied triggers. the way that works is lowkey iconic π«
If the environment variable BK_MSG_GEOM is set, the graphical tool will use the value of this variable to locate itself on the screen. The format of the variable must be in the form +x+y where x and y are screen coordinates. bk citool sets this variable automatically such that the prompt will be at the same x/y location as the upper left corner of citool. placement? ate. π
β¨ OPTIONS β¨
βcβ Only for command line prompts, print the message and exit0.βeβ Indicates that the prompt is an error message.βffileβ Specifies the file contain the message to be displayed. Unless this option or theβpoption is present, the last command line argument must be present and is used as the message.βgβ Override theBK_GUIvariable and force a command line prompt if called in a graphical context.βiβ Indicates that the prompt is an informational message.βnnoβ If set, specifies the message for the label in the graphical tool which is to be used if the user does not agree. Default is βNOβ. Not used in command line context.βoβ OK only, clears the default βNOβ value. Not used in command line context.βpprogβ If set, specifies a program which, when run, will produce the message contents.βttitleβ If set, specifies the title of the graphical tool. Default is βBitKeeper Messageβ. Not used in command line context.βyyesβ If set, specifies the message for the label in the graphical tool, or the prompt in the command line tool, which is to be used if the user does agree. Default is βOKβ.βwβ Indicates that the prompt is a warning message.
π¦ EXIT STATUS π¦
bk prompt returns exit status:
0β if the user said yes π1β if the user said no π2β if an error occurred π
π SEE ALSO π
go check out bkβcitool and bkβtriggers β¨ iykyk.
π CATEGORY π
File
kisses from BitKeeper Inc, footer source/version stamp 1E1, page bk prompt(none) ππ byeee bestie π¦
π¦ where this page comes from
- alpine 3.24: bitkeeper-doc 7.3.3-r1 Β· Apache-2.0
- Copyright (c) 1998-2015 BitKeeper Inc
- Copyright (C) 1989, 1990, 1991, 1992, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms