mirror of
https://github.com/nushell/nushell.git
synced 2025-06-20 18:08:36 +02:00
Adjust std-rfc/clip deprecation window (#15981)
Follow-up to #15877. That PR was created before 0.105, but merged after it was released. This PR adjusts the deprecation window from 0.105.0-0.107.0 to 0.106.0-0.108.0
This commit is contained in:
parent
2e484156e0
commit
fda181d566
@ -12,7 +12,7 @@ module std-clip {
|
|||||||
use std-clip
|
use std-clip
|
||||||
|
|
||||||
# Copy input to system clipboard
|
# Copy input to system clipboard
|
||||||
@deprecated "The clip module has been moved to std. Please use the std version instead of the std-rfc version." --since 0.105.0 --remove 0.107.0
|
@deprecated "The clip module has been moved to std. Please use the std version instead of the std-rfc version." --since 0.106.0 --remove 0.108.0
|
||||||
@example "Copy a string to the clipboard" {
|
@example "Copy a string to the clipboard" {
|
||||||
"Hello" | clip copy
|
"Hello" | clip copy
|
||||||
}
|
}
|
||||||
@ -23,7 +23,7 @@ export def copy [
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Paste contents of system clipboard
|
# Paste contents of system clipboard
|
||||||
@deprecated "The clip module has been moved to std. Please use the std version instead of the std-rfc version." --since 0.105.0 --remove 0.107.0
|
@deprecated "The clip module has been moved to std. Please use the std version instead of the std-rfc version." --since 0.106.0 --remove 0.108.0
|
||||||
@example "Paste a string from the clipboard" {
|
@example "Paste a string from the clipboard" {
|
||||||
clip paste
|
clip paste
|
||||||
} --result "Hello"
|
} --result "Hello"
|
||||||
@ -32,7 +32,7 @@ export def paste []: [nothing -> string] {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Add a prefix to each line of the content to be copied
|
# Add a prefix to each line of the content to be copied
|
||||||
@deprecated "The clip module has been moved to std. Please use the std version instead of the std-rfc version." --since 0.105.0 --remove 0.107.0
|
@deprecated "The clip module has been moved to std. Please use the std version instead of the std-rfc version." --since 0.106.0 --remove 0.108.0
|
||||||
@example "Format output for Nushell doc" {
|
@example "Format output for Nushell doc" {
|
||||||
[1 2 3] | clip prefix '# => '
|
[1 2 3] | clip prefix '# => '
|
||||||
} --result "# => ╭───┬───╮
|
} --result "# => ╭───┬───╮
|
||||||
|
Loading…
x
Reference in New Issue
Block a user