Command line client for Write.as https://write.as/apps/cli
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

21 Zeilen
554 B

  1. // Copyright 2013 @atotto. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. // Package clipboard read/write on clipboard
  5. package clipboard
  6. // ReadAll read string from clipboard
  7. func ReadAll() (string, error) {
  8. return readAll()
  9. }
  10. // WriteAll write string to clipboard
  11. func WriteAll(text string) error {
  12. return writeAll(text)
  13. }
  14. // Unsupported might be set true during clipboard init, to help callers decide
  15. // whether or not to offer clipboard options.
  16. var Unsupported bool