Ardo Kubjas 5 лет назад
Родитель
Сommit
468284e2b8
3 измененных файлов с 23 добавлено и 0 удалено
  1. 1 0
      NAMESPACE
  2. 8 0
      R/qgis_show_help.R
  3. 14 0
      man/qgis_show_help.Rd

+ 1 - 0
NAMESPACE

@@ -24,5 +24,6 @@ export(gpkg_piirkonnale_ruudustike_lisamine)
 export(gpkg_sellest_alustame_gpkg_loomist)
 export(pk_bbox)
 export(qgis_algorithm_search_by_word)
+export(qgis_show_help)
 importFrom(magrittr,"%>%")
 importFrom(rlang,.data)

+ 8 - 0
R/qgis_show_help.R

@@ -0,0 +1,8 @@
+#' qgis_process command help
+#'
+#' See on QGIS käskude help
+#' @param algorithm str Algoritmi nimetus. [ruut::qgis_algorithm_search_by_word()]
+#' @export
+qgis_show_help <- function(algorithm) {
+  system(sprintf("qgis_process help %s", algorithm))
+}

+ 14 - 0
man/qgis_show_help.Rd

@@ -0,0 +1,14 @@
+% Generated by roxygen2: do not edit by hand
+% Please edit documentation in R/qgis_show_help.R
+\name{qgis_show_help}
+\alias{qgis_show_help}
+\title{qgis_process command help}
+\usage{
+qgis_show_help(algorithm)
+}
+\arguments{
+\item{algorithm}{str Algoritmi nimetus. \code{\link[=qgis_algorithm_search_by_word]{qgis_algorithm_search_by_word()}}}
+}
+\description{
+See on QGIS käskude help
+}